home *** CD-ROM | disk | FTP | other *** search
Unreal Engine 3 Package | 2001-03-07 | 19.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Unreal Engine 3 Package
(archive/unrealEngine3Package).
You can browse this item here: IpDrv.u
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Unreal Engine 3 Package (archive/unrealEngine3Package)
| magic
| Supported |
1%
| dexvert
| Unreal Texture (image/unrealTexture)
| ext
| Unsupported |
1%
| dexvert
| KICK-Pascal Unit Interface (other/kickPascalUnitInterface)
| ext
| Unsupported |
100%
| file
| Unreal Engine package (little-endian), version 69, names: 127, imports: 28, exports: 168
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| UE3 Unreal Package (LE)
| default
| |
100%
| detectItEasy
| Format: UnrealEngine\Unreal Package(69,0)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| c1 83 2a 9e 45 00 00 00 | 05 00 00 00 7f 00 00 00 |..*.E...|........|
|00000010| 40 00 00 00 a8 00 00 00 | ab 43 00 00 1c 00 00 00 |@.......|.C......|
|00000020| b6 42 00 00 a5 17 af 8f | f2 12 d5 11 94 fa 00 50 |.B......|.......P|
|00000030| da bd 00 4c 01 00 00 00 | a8 00 00 00 7f 00 00 00 |...L....|........|
|00000040| 05 4e 6f 6e 65 00 10 04 | 07 04 0a 55 64 70 42 65 |.None...|...UdpBe|
|00000050| 61 63 6f 6e 00 10 00 07 | 00 07 45 6e 67 69 6e 65 |acon....|..Engine|
|00000060| 00 10 00 07 04 05 43 6f | 72 65 00 10 00 07 04 07 |......Co|re......|
|00000070| 53 79 73 74 65 6d 00 10 | 00 07 04 09 53 65 6e 64 |System..|....Send|
|00000080| 54 65 78 74 00 10 00 07 | 04 06 49 70 44 72 76 00 |Text....|..IpDrv.|
|00000090| 10 00 07 00 10 42 72 6f | 61 64 63 61 73 74 42 65 |.....Bro|adcastBe|
|000000a0| 61 63 6f 6e 00 10 00 07 | 00 0d 52 65 63 65 69 76 |acon....|..Receiv|
|000000b0| 65 64 54 65 78 74 00 10 | 00 07 00 09 42 69 6e 64 |edText..|....Bind|
|000000c0| 50 6f 72 74 00 10 00 07 | 00 0b 52 65 61 64 42 69 |Port....|..ReadBi|
|000000d0| 6e 61 72 79 00 10 00 07 | 00 0f 52 65 63 65 69 76 |nary....|..Receiv|
|000000e0| 65 64 42 69 6e 61 72 79 | 00 10 00 07 00 0f 49 70 |edBinary|......Ip|
|000000f0| 41 64 64 72 54 6f 53 74 | 72 69 6e 67 00 10 00 07 |AddrToSt|ring....|
|00000100| 00 08 55 64 70 4c 69 6e | 6b 00 10 00 07 00 09 52 |..UdpLin|k......R|
|00000110| 65 61 64 54 65 78 74 00 | 10 00 07 00 0d 52 65 63 |eadText.|.....Rec|
|00000120| 65 69 76 65 64 4c 69 6e | 65 00 10 00 07 00 0e 47 |eivedLin|e......G|
|00000130| 65 74 41 64 64 72 65 73 | 73 55 52 4c 00 10 00 07 |etAddres|sURL....|
|00000140| 00 0a 44 65 73 74 72 6f | 79 65 64 00 10 00 07 04 |..Destro|yed.....|
|00000150| 0a 42 65 67 69 6e 50 6c | 61 79 00 10 00 07 04 0c |.BeginPl|ay......|
|00000160| 62 41 6c 77 61 79 73 54 | 69 63 6b 00 10 00 07 00 |bAlwaysT|ick.....|
|00000170| 0e 47 65 74 42 65 61 63 | 6f 6e 54 65 78 74 00 10 |.GetBeac|onText..|
|00000180| 00 07 04 15 42 72 6f 61 | 64 63 61 73 74 42 65 61 |....Broa|dcastBea|
|00000190| 63 6f 6e 51 75 65 72 79 | 00 10 00 07 00 0b 53 65 |conQuery|......Se|
|000001a0| 6e 64 42 69 6e 61 72 79 | 00 10 00 07 04 06 54 69 |ndBinary|......Ti|
|000001b0| 6d 65 72 00 10 00 07 04 | 0b 52 65 6d 6f 74 65 52 |mer.....|.RemoteR|
|000001c0| 6f 6c 65 00 10 00 07 04 | 0a 4d 4f 44 45 5f 54 65 |ole.....|.MODE_Te|
|000001d0| 78 74 00 10 00 07 00 09 | 50 61 72 73 65 55 52 4c |xt......|ParseURL|
|000001e0| 00 10 00 07 00 07 43 6c | 6f 73 65 64 00 10 00 07 |......Cl|osed....|
|000001f0| 00 07 4f 70 65 6e 65 64 | 00 10 00 07 00 09 41 63 |..Opened|......Ac|
|00000200| 63 65 70 74 65 64 00 10 | 00 07 00 0c 49 73 43 6f |cepted..|....IsCo|
|00000210| 6e 6e 65 63 74 65 64 00 | 10 00 07 00 0c 52 4d 4f |nnected.|.....RMO|
|00000220| 44 45 5f 45 76 65 6e 74 | 00 10 00 07 00 15 53 54 |DE_Event|......ST|
|00000230| 41 54 45 5f 43 6f 6e 6e | 65 63 74 43 6c 6f 73 69 |ATE_Conn|ectClosi|
|00000240| 6e 67 00 10 00 07 00 14 | 53 54 41 54 45 5f 4c 69 |ng......|STATE_Li|
|00000250| 73 74 65 6e 43 6c 6f 73 | 69 6e 67 00 10 00 07 00 |stenClos|ing.....|
|00000260| 1a 53 54 41 54 45 5f 43 | 6f 6e 6e 65 63 74 43 6c |.STATE_C|onnectCl|
|00000270| 6f 73 65 50 65 6e 64 69 | 6e 67 00 10 00 07 00 19 |osePendi|ng......|
|00000280| 53 54 41 54 45 5f 4c 69 | 73 74 65 6e 43 6c 6f 73 |STATE_Li|stenClos|
|00000290| 65 50 65 6e 64 69 6e 67 | 00 10 00 07 00 10 53 54 |ePending|......ST|
|000002a0| 41 54 45 5f 43 6f 6e 6e | 65 63 74 65 64 00 10 00 |ATE_Conn|ected...|
|000002b0| 07 00 11 53 54 41 54 45 | 5f 43 6f 6e 6e 65 63 74 |...STATE|_Connect|
|000002c0| 69 6e 67 00 10 00 07 00 | 10 53 54 41 54 45 5f 4c |ing.....|.STATE_L|
|000002d0| 69 73 74 65 6e 69 6e 67 | 00 10 00 07 00 0d 52 4d |istening|......RM|
|000002e0| 4f 44 45 5f 4d 61 6e 75 | 61 6c 00 10 00 07 00 0c |ODE_Manu|al......|
|000002f0| 53 54 41 54 45 5f 52 65 | 61 64 79 00 10 00 07 00 |STATE_Re|ady.....|
|00000300| 0e 42 65 61 63 6f 6e 54 | 69 6d 65 6f 75 74 00 10 |.BeaconT|imeout..|
|00000310| 00 07 00 0b 42 65 61 63 | 6f 6e 50 6f 72 74 00 10 |....Beac|onPort..|
|00000320| 00 07 00 0e 42 65 61 63 | 6f 6e 50 72 6f 64 75 63 |....Beac|onProduc|
|00000330| 74 00 10 00 07 00 0e 42 | 72 6f 61 64 63 61 73 74 |t......B|roadcast|
|00000340| 41 64 64 72 00 10 00 07 | 00 11 47 65 74 42 65 61 |Addr....|..GetBea|
|00000350| 63 6f 6e 41 64 64 72 65 | 73 73 00 10 00 07 00 0e |conAddre|ss......|
|00000360| 52 65 73 6f 6c 76 65 46 | 61 69 6c 65 64 00 10 00 |ResolveF|ailed...|
|00000370| 07 00 09 52 65 73 6f 6c | 76 65 64 00 10 00 07 00 |...Resol|ved.....|
|00000380| 0b 47 65 74 4c 6f 63 61 | 6c 49 50 00 10 00 07 00 |.GetLoca|lIP.....|
|00000390| 0f 53 74 72 69 6e 67 54 | 6f 49 70 41 64 64 72 00 |.StringT|oIpAddr.|
|000003a0| 10 00 07 00 05 4f 70 65 | 6e 00 10 00 07 00 06 43 |.....Ope|n......C|
|000003b0| 6c 6f 73 65 00 10 00 07 | 00 09 56 61 6c 69 64 61 |lose....|..Valida|
|000003c0| 74 65 00 10 00 07 00 0a | 4d 4f 44 45 5f 4c 69 6e |te......|MODE_Lin|
|000003d0| 65 00 10 00 07 00 0c 4d | 4f 44 45 5f 42 69 6e 61 |e......M|ODE_Bina|
|000003e0| 72 79 00 10 00 07 00 0d | 49 6e 74 65 72 6e 65 74 |ry......|Internet|
|000003f0| 4c 69 6e 6b 00 10 00 07 | 00 08 54 63 70 4c 69 6e |Link....|..TcpLin|
|00000400| 6b 00 10 00 07 00 15 43 | 6c 69 65 6e 74 42 65 61 |k......C|lientBea|
|00000410| 63 6f 6e 52 65 63 65 69 | 76 65 72 00 10 00 07 00 |conRecei|ver.....|
|00000420| 0d 47 65 74 4c 61 73 74 | 45 72 72 6f 72 00 10 00 |.GetLast|Error...|
|00000430| 07 00 07 49 70 41 64 64 | 72 00 10 00 07 00 0e 49 |...IpAdd|r......I|
|00000440| 73 44 61 74 61 50 65 6e | 64 69 6e 67 00 10 00 07 |sDataPen|ding....|
|00000450| 00 12 53 54 41 54 45 5f | 49 6e 69 74 69 61 6c 69 |..STATE_|Initiali|
|00000460| 7a 65 64 00 10 00 07 00 | 08 52 65 73 6f 6c 76 65 |zed.....|.Resolve|
|00000470| 00 10 00 07 00 07 4c 69 | 73 74 65 6e 00 10 00 07 |......Li|sten....|
|00000480| 00 0b 42 65 61 63 6f 6e | 49 6e 66 6f 00 10 00 07 |..Beacon|Info....|
|00000490| 00 11 53 65 72 76 65 72 | 42 65 61 63 6f 6e 50 6f |..Server|BeaconPo|
|000004a0| 72 74 00 10 00 07 00 09 | 44 6f 42 65 61 63 6f 6e |rt......|DoBeacon|
|000004b0| 00 10 00 07 00 0a 45 4c | 69 6e 6b 4d 6f 64 65 00 |......EL|inkMode.|
|000004c0| 10 00 07 00 13 50 72 69 | 76 61 74 65 52 65 73 6f |.....Pri|vateReso|
|000004d0| 6c 76 65 49 6e 66 6f 00 | 10 00 07 00 05 45 6e 75 |lveInfo.|.....Enu|
|000004e0| 6d 00 10 04 07 04 07 53 | 74 72 75 63 74 00 10 04 |m......S|truct...|
|000004f0| 07 04 05 50 6f 72 74 00 | 10 00 07 00 05 41 64 64 |...Port.|.....Add|
|00000500| 72 00 10 00 07 00 04 55 | 52 4c 00 10 00 07 00 09 |r......U|RL......|
|00000510| 46 75 6e 63 74 69 6f 6e | 00 10 04 07 04 07 4f 62 |Function|......Ob|
|00000520| 6a 65 63 74 00 10 00 07 | 04 05 4c 69 6e 65 00 10 |ject....|..Line..|
|00000530| 00 07 00 06 43 6f 75 6e | 74 00 10 00 07 00 0a 45 |....Coun|t......E|
|00000540| 6e 74 72 79 4e 61 6d 65 | 00 10 00 07 00 04 53 74 |ntryName|......St|
|00000550| 72 00 10 00 07 00 07 44 | 6f 6d 61 69 6e 00 10 00 |r......D|omain...|
|00000560| 07 00 0d 52 65 6d 6f 74 | 65 53 6f 63 6b 65 74 00 |...Remot|eSocket.|
|00000570| 10 00 07 00 0c 53 74 72 | 50 72 6f 70 65 72 74 79 |.....Str|Property|
|00000580| 00 10 00 07 04 04 41 72 | 67 00 10 00 07 00 0b 54 |......Ar|g......T|
|00000590| 65 78 74 42 75 66 66 65 | 72 00 10 00 07 04 11 56 |extBuffe|r......V|
|000005a0| 61 6c 69 64 61 74 69 6f | 6e 53 74 72 69 6e 67 00 |alidatio|nString.|
|000005b0| 10 00 07 00 0c 54 69 6d | 65 53 65 63 6f 6e 64 73 |.....Tim|eSeconds|
|000005c0| 00 10 00 07 00 07 53 6f | 63 6b 65 74 00 10 00 07 |......So|cket....|
|000005d0| 00 09 4c 69 6e 6b 4d 6f | 64 65 00 10 00 07 00 02 |..LinkMo|de......|
|000005e0| 4e 00 10 00 07 00 0f 53 | 74 72 75 63 74 50 72 6f |N......S|tructPro|
|000005f0| 70 65 72 74 79 00 10 00 | 07 04 12 62 55 73 65 4e |perty...|...bUseN|
|00000600| 65 78 74 41 76 61 69 6c | 61 62 6c 65 00 10 00 07 |extAvail|able....|
|00000610| 00 0e 41 72 72 61 79 50 | 72 6f 70 65 72 74 79 00 |..ArrayP|roperty.|
|00000620| 10 00 07 04 0e 43 6c 61 | 73 73 50 72 6f 70 65 72 |.....Cla|ssProper|
|00000630| 74 79 00 10 00 07 04 0f | 4f 62 6a 65 63 74 50 72 |ty......|ObjectPr|
|00000640| 6f 70 65 72 74 79 00 10 | 00 07 04 0e 46 6c 6f 61 |operty..|....Floa|
|00000650| 74 50 72 6f 70 65 72 74 | 79 00 10 00 07 04 0d 42 |tPropert|y......B|
|00000660| 6f 6f 6c 50 72 6f 70 65 | 72 74 79 00 10 00 07 04 |oolPrope|rty.....|
|00000670| 05 47 61 6d 65 00 10 00 | 07 00 09 47 61 6d 65 4e |.Game...|...GameN|
|00000680| 61 6d 65 00 10 00 07 00 | 0c 44 61 74 61 50 65 6e |ame.....|.DataPen|
|00000690| 64 69 6e 67 00 10 00 07 | 00 0d 45 52 65 63 65 69 |ding....|..ERecei|
|000006a0| 76 65 4d 6f 64 65 00 10 | 00 07 00 08 50 61 63 6b |veMode..|....Pack|
|000006b0| 61 67 65 00 10 04 07 04 | 13 55 64 70 53 65 72 76 |age.....|.UdpServ|
|000006c0| 65 72 51 75 65 72 79 50 | 6f 72 74 00 10 00 07 00 |erQueryP|ort.....|
|000006d0| 0a 62 6f 75 6e 64 70 6f | 72 74 00 10 00 07 00 0c |.boundpo|rt......|
|000006e0| 49 6e 74 50 72 6f 70 65 | 72 74 79 00 10 00 07 04 |IntPrope|rty.....|
|000006f0| 0d 42 79 74 65 50 72 6f | 70 65 72 74 79 00 10 00 |.BytePro|perty...|
|00000700| 07 04 05 54 65 78 74 00 | 10 00 07 00 08 42 65 61 |...Text.|.....Bea|
|00000710| 63 6f 6e 73 00 10 00 07 | 00 0b 45 4c 69 6e 6b 53 |cons....|..ELinkS|
|00000720| 74 61 74 65 00 10 00 07 | 00 02 6a 00 10 00 07 00 |tate....|..j.....|
|00000730| 02 69 00 10 00 07 00 0c | 52 65 74 75 72 6e 56 61 |.i......|ReturnVa|
|00000740| 6c 75 65 00 10 00 07 00 | 02 42 00 10 00 07 00 05 |lue.....|.B......|
|00000750| 54 69 6d 65 00 10 00 07 | 00 0b 53 63 72 69 70 74 |Time....|..Script|
|00000760| 54 65 78 74 00 10 00 07 | 00 06 43 6c 61 73 73 00 |Text....|..Class.|
|00000770| 10 04 07 04 0c 52 65 63 | 65 69 76 65 4d 6f 64 65 |.....Rec|eiveMode|
|00000780| 00 10 00 07 00 0a 4c 65 | 76 65 6c 49 6e 66 6f 00 |......Le|velInfo.|
|00000790| 10 00 07 00 0a 4c 69 6e | 6b 53 74 61 74 65 00 10 |.....Lin|kState..|
|000007a0| 00 07 00 0b 52 65 6d 6f | 74 65 41 64 64 72 00 10 |....Remo|teAddr..|
|000007b0| 00 07 00 0c 41 63 63 65 | 70 74 43 6c 61 73 73 00 |....Acce|ptClass.|
|000007c0| 10 00 07 00 09 53 65 6e | 64 46 49 46 4f 00 10 00 |.....Sen|dFIFO...|
|000007d0| 07 00 09 47 61 6d 65 49 | 6e 66 6f 00 10 00 07 00 |...GameI|nfo.....|
|000007e0| 0d 49 6e 74 65 72 6e 65 | 74 49 6e 66 6f 00 10 00 |.Interne|tInfo...|
|000007f0| 07 00 06 4c 65 76 65 6c | 00 10 00 07 00 06 41 63 |...Level|......Ac|
|00000800| 74 6f 72 00 10 00 07 00 | 0a 4c 65 76 65 6c 4e 61 |tor.....|.LevelNa|
|00000810| 6d 65 00 10 00 07 00 00 | 00 00 00 08 3b 00 00 00 |me......|....;...|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 0b 01 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 33 | 20 00 00 00 00 00 40 00 |.......3| .....@.|
|00000840| 00 33 00 00 07 01 00 00 | 00 00 00 00 00 00 00 00 |.3......|........|
|00000850| 13 01 00 00 00 00 00 00 | 00 00 01 00 00 02 01 00 |........|........|
|00000860| 00 00 80 00 40 00 00 00 | 00 00 01 00 00 00 00 00 |....@...|........|
|00000870| 00 00 00 00 00 0d 01 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 2e 01 00 00 00 01 40 | 44 00 01 8f 00 7b 01 62 |.......@|D....{.b|
|00000890| 01 37 ff ff ff ff ff ff | ff ff 00 00 00 00 00 00 |.7......|........|
|000008a0| 00 00 00 00 00 00 ff ff | ff ff ff ff ff ff ff ff |........|........|
|000008b0| 00 00 00 00 1a 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 02 0a 01 00 00 00 d1 6c |........|.......l|
|000008d0| 77 38 8f 01 00 00 00 ae | bf 3c 2e 03 06 02 03 8c |w8......|.<......|
|000008e0| 04 00 00 00 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 01 00 00 00 00 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00000900| 00 00 00 00 00 00 00 00 | 00 06 01 00 00 00 80 00 |........|........|
|00000910| 00 00 00 01 00 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 01 00 00 00 01 00 00 00 | 00 00 40 00 00 00 00 00 |........|..@.....|
|00000930| 01 00 00 00 03 00 00 00 | 0d 19 00 76 01 34 01 ff |........|...v.4..|
|00000940| ff ff ff ff ff ff ff 00 | 00 00 00 02 00 00 00 00 |........|........|
|00000950| 00 00 00 ff ff ff ff ff | ff ff ff ff ff 00 00 00 |........|........|
|00000960| 00 1e 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 06 12 01 | 00 00 00 99 1d 4e 35 19 |........|.....N5.|
|00000980| 01 00 00 00 36 16 1f 85 | 8a 00 00 00 00 86 c7 d0 |....6...|........|
|00000990| 2f 8a 00 00 00 00 86 c7 | d0 2f 8a 00 00 00 00 86 |/.......|./......|
|000009a0| c7 d0 2f 9a 00 00 00 00 | 13 e0 75 9d 03 06 02 03 |../.....|..u.....|
|000009b0| 8c 04 42 01 d3 00 41 01 | 22 49 22 00 00 2a 22 31 |..B...A.|"I"..*"1|
|000009c0| 26 00 00 29 24 00 00 a0 | 40 2b 5d 08 07 75 6e 72 |&..)$...|@+]..unr|
|000009d0| 65 61 6c 00 18 01 00 00 | 00 00 10 01 00 00 00 00 |eal.....|........|
|000009e0| 00 00 00 00 00 00 00 01 | 00 00 00 80 00 40 00 00 |........|.....@..|
|000009f0| 00 00 18 01 00 00 00 01 | 40 04 00 01 00 00 14 01 |........|@.......|
|00000a00| 00 00 00 80 00 00 00 00 | 01 00 00 00 01 00 00 00 |........|........|
|00000a10| 00 00 00 00 00 00 00 2b | 01 00 00 00 01 40 04 00 |.......+|.....@..|
|00000a20| 01 0a 00 75 01 51 01 0d | ff ff ff ff ff ff ff ff |...u.Q..|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|00000a40| ff ff ff ff ff ff 00 00 | 00 00 1a 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 02 19 |........|........|
|00000a60| 01 00 00 00 36 16 1f 85 | 0a 01 00 00 00 d1 6c 77 |....6...|......lw|
|00000a70| 38 03 06 02 03 8c 04 2c | 22 ff ff ff ff 13 d3 00 |8......,|".......|
|00000a80| 00 0a 00 7a 01 66 02 38 | ff ff ff ff ff ff ff ff |...z.f.8|........|
|00000a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 ff ff ff ff |........|........|
|00000aa0| ff ff ff ff ff ff 00 00 | 00 00 1a 00 00 00 00 00 |........|........|
|00000ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 02 1a |........|........|
|00000ac0| 01 00 00 00 32 e7 1e 21 | 0a 01 00 00 00 d1 6c 77 |....2..!|......lw|
|00000ad0| 38 03 06 02 03 8c 04 13 | d3 00 00 00 00 72 01 02 |8.......|.....r..|
|00000ae0| 27 1f 00 00 1d 01 00 00 | 00 80 01 40 00 00 00 00 |'.......|...@....|
|00000af0| 57 01 01 00 00 00 80 01 | 40 00 00 00 00 01 03 19 |W.......|@.......|
|00000b00| 35 36 00 00 20 01 00 00 | 00 80 08 40 00 00 00 00 |56.. ...|...@....|
|00000b10| 22 01 00 00 00 80 01 40 | 00 00 00 00 00 01 00 00 |"......@|........|
|00000b20| 00 80 08 40 00 00 00 00 | 1c 01 00 00 00 80 01 00 |...@....|........|
|00000b30| 00 00 00 00 4c 01 00 65 | 01 08 25 00 00 00 86 05 |....L..e|..%.....|
|00000b40| 00 00 02 00 00 00 04 0b | 00 00 00 00 08 00 00 00 |........|........|
|00000b50| 97 5d 02 00 0c 12 15 00 | 00 00 7b 02 00 00 70 00 |.]......|..{...p.|
|00000b60| 00 00 0f 01 17 1b 09 01 | 15 27 16 07 43 00 9a 01 |........|.'..C...|
|00000b70| 17 25 16 e7 1f 55 64 70 | 42 65 61 63 6f 6e 20 66 |.%...Udp|Beacon f|
|00000b80| 61 69 6c 65 64 20 74 6f | 20 62 69 6e 64 20 61 20 |ailed to| bind a |
|00000b90| 70 6f 72 74 2e 00 16 04 | 0b 0f 36 08 00 0c 01 11 |port....|..6.....|
|00000ba0| 0f 36 0d 00 0c 01 18 1b | 07 00 0c 16 04 0b 00 00 |.6......|........|
|00000bb0| 00 02 00 00 00 00 00 5d | 01 01 00 00 00 80 00 00 |.......]|........|
|00000bc0| 00 00 01 00 00 3d 01 00 | 00 00 80 00 00 00 00 00 |.....=..|........|
|00000bd0| 00 53 02 01 00 00 00 80 | 08 40 00 00 00 00 29 01 |.S......|.@....).|
|00000be0| 00 00 00 80 00 40 00 00 | 00 00 4b 02 01 00 00 00 |.....@..|..K.....|
|00000bf0| 80 01 00 00 00 01 00 00 | 24 00 41 01 07 23 00 00 |........|$.A..#..|
|00000c00| 00 9e 03 00 00 56 00 00 | 00 1b 05 00 41 01 a8 a8 |.....V..|....A...|
|00000c10| 01 09 7f 19 01 8d 06 00 | 00 1b 10 16 92 7e 19 01 |........|.....~..|
|00000c20| 8d 06 00 00 1b 10 16 1f | 3a 00 16 26 16 16 16 19 |........|:..&....|
|00000c30| 19 01 8d 05 00 04 01 9c | 06 00 00 1b 14 16 16 16 |........|........|
|00000c40| 04 0b 00 00 00 02 00 00 | 00 00 00 09 01 00 00 00 |........|........|
|00000c50| 01 40 04 00 01 00 00 2d | 01 00 00 00 80 00 40 00 |.@.....-|......@.|
|00000c60| 00 00 00 45 02 01 00 00 | 00 80 00 40 00 00 00 00 |...E....|...@....|
|00000c70| 17 01 00 00 00 00 00 00 | 00 00 00 00 5e 02 ff 00 |........|....^...|
|00000c80| 00 00 80 01 00 00 00 00 | 00 00 00 01 00 00 00 80 |........|........|
|00000c90| 01 00 00 00 01 00 00 2f | 01 00 00 00 80 00 00 00 |......./|........|
|00000ca0| 00 00 00 70 01 01 00 00 | 00 80 00 00 00 00 00 00 |...p....|........|
|00000cb0| 00 00 05 40 01 00 00 00 | 00 00 00 00 00 00 00 00 |...@....|........|
|00000cc0| 00 00 91 39 00 00 11 38 | 00 00 00 d8 05 00 00 08 |...9...8|........|
|00000cd0| 00 00 00 1c 91 16 04 0b | 00 00 00 02 00 00 00 00 |........|........|
|00000ce0| 00 5a 02 01 00 00 00 80 | 01 40 00 00 00 00 37 01 |.Z......|.@....7.|
|00000cf0| 00 00 00 90 00 00 00 00 | 00 00 5f 01 01 00 00 00 |........|.._.....|
|00000d00| 90 00 00 00 00 00 00 6d | 01 01 00 00 00 80 00 00 |.......m|........|
|00000d10| 00 00 00 23 60 01 00 16 | 08 2f 00 00 00 48 05 00 |...#`...|./...H..|
|00000d20| 00 41 00 00 00 07 1d 00 | 7a 00 14 1f 52 45 50 4f |.A......|z...REPO|
|00000d30| 52 54 00 16 1b 07 00 16 | 16 07 3f 00 7a 00 14 1f |RT......|..?.z...|
|00000d40| 52 45 50 4f 52 54 51 55 | 45 52 59 00 16 1b 15 00 |REPORTQU|ERY.....|
|00000d50| 16 16 04 0b 00 00 00 02 | 08 00 00 00 00 3b 01 00 |........|.....;..|
|00000d60| 00 00 80 00 00 00 00 01 | 00 00 5b 01 01 00 00 00 |........|..[.....|
|00000d70| 80 08 40 00 00 00 00 00 | 01 00 00 00 80 00 00 00 |..@.....|........|
|00000d80| 00 01 00 00 57 02 ff 00 | 00 00 80 00 00 00 00 00 |....W...|........|
|00000d90| 00 00 3f 01 00 00 00 80 | 00 00 00 00 01 00 00 40 |..?.....|.......@|
|00000da0| 01 01 00 00 00 80 00 00 | 00 00 00 00 56 01 ff 00 |........|....V...|
|00000db0| 00 00 80 00 00 00 00 00 | 00 00 00 01 00 00 00 80 |........|........|
|00000dc0| 00 00 00 00 01 00 00 4c | 02 01 00 00 00 80 00 00 |.......L|........|
|00000dd0| 00 00 01 00 00 44 01 01 | 00 00 00 80 01 00 00 00 |.....D..|........|
|00000de0| 01 00 00 4d 01 01 00 00 | 00 80 01 40 00 00 00 00 |...M....|...@....|
|00000df0| 47 02 01 00 00 00 90 00 | 00 00 00 00 00 00 09 3d |G.......|.......=|
|00000e00| 28 26 25 24 23 22 21 20 | 00 00 48 01 01 00 00 00 |(&%$#"! |..H.....|
|00000e10| 80 01 00 00 00 01 00 00 | 49 01 01 00 00 00 80 00 |........|I.......|
|00000e20| 00 00 00 00 00 4e 01 ff | 00 00 00 80 01 00 00 00 |.....N..|........|
|00000e30| 00 00 00 45 01 01 00 00 | 00 90 00 00 00 00 00 00 |...E....|........|
|00000e40| 00 01 00 00 00 80 00 00 | 00 00 01 00 00 53 01 00 |........|.....S..|
|00000e50| 47 01 0a 1f 00 00 00 a3 | 04 00 00 0f 00 00 00 29 |G.......|.......)|
|00000e60| 47 01 29 48 01 29 49 01 | 00 00 00 00 04 00 00 00 |G.)H.)I.|........|
|00000e70| 00 00 01 00 00 00 80 05 | 00 00 00 00 00 00 01 00 |........|........|
|00000e80| 00 00 80 05 00 00 00 00 | 00 61 01 00 3a 05 15 00 |........|.a..:...|
|00000e90| 00 00 27 03 00 00 0a 00 | 00 00 29 3a 29 3b 00 00 |..'.....|..):);..|
|00000ea0| 00 00 04 00 00 00 00 7e | 01 00 66 01 2f 57 00 00 |.......~|..f./W..|
|00000eb0| 00 77 09 00 00 02 00 00 | 00 04 0b 00 00 00 00 08 |.w......|........|
|00000ec0| 00 00 00 00 59 02 00 52 | 01 0b 2b 00 00 00 9f 06 |....Y..R|..+.....|
|00000ed0| 00 00 02 00 00 00 04 0b | 00 00 00 00 08 00 00 00 |........|........|
|00000ee0| 00 6f 01 01 00 00 00 80 | 00 00 00 00 01 00 00 58 |.o......|.......X|
|00000ef0| 01 00 43 01 0e 1c 00 00 | 00 26 04 00 00 0a 00 00 |..C.....|.&......|
|00000f00| 00 29 43 01 29 44 01 00 | 00 00 00 04 00 00 00 00 |.)C.)D..|........|
|00000f10| 00 ff 00 00 00 80 00 00 | 00 00 00 00 00 78 01 00 |........|.....x..|
|00000f20| 5a 01 3a 45 00 00 00 f9 | 06 00 00 00 00 00 00 00 |Z.:E....|........|
|00000f30| 00 00 00 04 00 00 00 00 | 00 01 00 00 00 80 05 00 |........|........|
|00000f40| 00 00 00 00 00 01 00 00 | 00 80 05 00 00 00 00 00 |........|........|
|00000f50| 4f 01 00 3e 16 18 00 00 | 00 9d 03 00 00 0f 00 00 |O..>....|........|
|00000f60| 00 29 3e 29 3f 29 40 01 | 00 00 00 00 04 00 00 00 |.)>)?)@.|........|
|00000f70| 00 55 02 00 1f 1a 3c 00 | 00 00 da 05 00 00 19 00 |.U....<.|........|
|00000f80| 00 00 29 1f 29 20 29 22 | 29 1c 29 1d 00 00 00 00 |..).) )"|).).....|
|00000f90| 04 00 00 00 00 00 01 00 | 00 00 80 05 00 00 00 00 |........|........|
|00000fa0| 00 00 01 00 00 00 80 05 | 00 00 00 00 00 52 02 00 |........|.....R..|
|00000fb0| 28 31 4b 00 00 00 bd 07 | 00 00 0a 00 00 00 29 28 |(1K.....|......)(|
|00000fc0| 29 29 00 00 00 00 04 00 | 00 00 00 00 01 00 00 00 |))......|........|
|00000fd0| 80 05 40 00 00 00 00 5c | 01 00 2c 34 4e 00 00 00 |..@....\|..,4N...|
|00000fe0| 5e 08 00 00 0a 00 00 00 | 29 2c 29 2d 00 00 00 00 |^.......|),)-....|
|00000ff0| 04 00 00 00 00 00 01 00 | 00 00 80 05 00 00 00 00 |........|........|
|00001000| 00 2a 00 3c 15 29 00 00 | 00 92 04 00 00 1a 00 00 |.*.<.)..|........|
|00001010| 00 1b 05 00 3c a8 01 09 | 53 01 2e 16 16 04 0b 00 |....<...|S.......|
|00001020| 00 00 02 00 00 00 00 00 | 11 00 36 09 11 00 00 00 |........|..6.....|
|00001030| 94 02 00 00 0a 00 00 00 | 29 36 29 37 00 00 00 00 |........|)6)7....|
|00001040| 04 00 00 00 00 50 01 00 | 00 2e 5a 00 00 00 ba 09 |.....P..|..Z.....|
|00001050| 00 00 02 00 00 00 04 0b | 00 00 00 00 08 00 00 00 |........|........|
|00001060| 00 1e 01 00 00 00 00 00 | 00 00 00 1b 00 00 63 01 |........|......c.|
|00001070| 01 00 00 00 02 00 00 00 | 00 00 00 56 02 01 00 00 |........|...V....|
|00001080| 00 80 00 00 00 00 01 00 | 00 00 01 00 00 00 80 00 |........|........|
|00001090| 00 00 00 01 00 00 64 01 | 01 00 00 00 02 10 00 00 |......d.|........|
|000010a0| 00 00 00 67 01 01 00 00 | 00 02 00 00 00 00 00 00 |...g....|........|
|000010b0| 68 01 01 00 00 00 02 00 | 00 00 00 00 00 69 01 01 |h.......|.....i..|
|000010c0| 00 00 00 02 00 00 00 00 | 00 98 03 00 38 2d 10 00 |........|....8-..|
|000010d0| 00 00 bf 01 00 00 19 00 | 00 00 04 1b 0c 36 05 1a |........|.....6..|
|000010e0| 00 38 01 03 16 04 0b 00 | 00 00 02 00 00 00 00 00 |.8......|........|
|000010f0| 00 01 00 00 00 80 00 40 | 00 00 00 00 00 01 00 00 |.......@|........|
|00001100| 00 80 05 40 00 00 00 99 | 6b 01 00 32 14 15 00 00 |...@....|k..2....|
|00001110| 00 17 02 00 00 13 00 00 | 00 04 36 10 1a 00 32 01 |........|..6...2.|
|00001120| 03 04 0b 00 00 00 02 00 | 00 00 00 00 54 01 01 00 |........|....T...|
|00001130| 00 00 80 00 00 00 00 00 | 00 00 01 00 00 00 80 05 |........|........|
|00001140| 40 00 00 00 24 6e 01 00 | 0f 12 1c 00 00 00 66 02 |@...$n..|......f.|
|00001150| 00 00 a4 00 00 00 07 43 | 00 97 1b 09 01 18 27 16 |.......C|......'.|
|00001160| 25 16 61 18 1e 00 00 80 | 3f 27 16 e7 1f 43 6c 69 |%.a.....|?'...Cli|
|00001170| 65 6e 74 42 65 61 63 6f | 6e 52 65 63 65 69 76 65 |entBeaco|nReceive|
|00001180| 72 20 69 6e 69 74 69 61 | 6c 69 7a 65 64 2e 00 16 |r initia|lized...|
|00001190| 06 77 00 e7 1f 43 6c 69 | 65 6e 74 42 65 61 63 6f |.w...Cli|entBeaco|
|000011a0| 6e 52 65 63 65 69 76 65 | 72 20 66 61 69 6c 65 64 |nReceive|r failed|
|000011b0| 3a 20 42 65 61 63 6f 6e | 20 70 6f 72 74 20 69 6e |: Beacon| port in|
|000011c0| 20 75 73 65 2e 00 16 0f | 36 08 00 0f 01 11 0f 36 | use....|6......6|
|000011d0| 0d 00 0f 01 15 1b 07 00 | 0f 16 04 0b 00 00 00 02 |........|........|
|000011e0| 00 00 00 00 00 6a 01 01 | 00 00 00 00 00 00 00 00 |.....j..|........|
|000011f0| 1e 00 34 71 01 00 00 11 | 2e 00 00 00 a5 03 00 00 |..4q....|........|
|00001200| 24 00 00 00 e7 1f 43 6c | 69 65 6e 74 42 65 61 63 |$.....Cl|ientBeac|
|00001210| 6f 6e 52 65 63 65 69 76 | 65 72 20 66 69 6e 69 73 |onReceiv|er finis|
|00001220| 68 65 64 2e 00 16 04 0b | 00 00 00 02 00 00 00 00 |hed.....|........|
|00001230| 9b 73 01 00 04 17 34 00 | 00 00 fc 03 00 00 b7 00 |.s....4.|........|
|00001240| 00 00 0f 00 04 25 07 7d | 00 96 00 04 2c 20 16 07 |.....%.}|...., ..|
|00001250| 73 00 82 9b 36 08 36 05 | 1a 00 04 01 03 25 16 18 |s...6.6.|.....%..|
|00001260| 28 00 b0 af 19 01 8d 05 | 00 04 01 92 36 13 1a 00 |(.......|....6...|
|00001270| 04 01 03 16 01 2b 16 16 | 0f 1a a5 00 07 16 01 03 |.....+..|........|
|00001280| 1a 00 04 01 03 a5 00 04 | 16 06 07 00 0f 00 07 00 |........|........|
|00001290| 07 07 b5 00 96 00 07 2c | 20 16 0f 36 08 36 05 1a |.......,| ..6.6..|
|000012a0| 00 07 01 03 25 a5 00 07 | 16 06 88 00 04 0b 00 00 |....%...|........|
|000012b0| 00 02 00 00 00 00 00 00 | 00 00 00 00 00 00 65 1a |........|......e.|
|000012c0| 2f 2f 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |//======|========|
|000012d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000012e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000012f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001300| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 0d |========|=======.|
|00001310| 0a 2f 2f 20 55 64 70 4c | 69 6e 6b 3a 20 41 6e 20 |.// UdpL|ink: An |
|00001320| 49 6e 74 65 72 6e 65 74 | 20 55 44 50 20 63 6f 6e |Internet| UDP con|
|00001330| 6e 65 63 74 69 6f 6e 6c | 65 73 73 20 73 6f 63 6b |nectionl|ess sock|
|00001340| 65 74 2e 0d 0a 2f 2f 3d | 3d 3d 3d 3d 3d 3d 3d 3d |et...//=|========|
|00001350| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001360| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001370| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001380| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001390| 3d 3d 3d 3d 0d 0a 63 6c | 61 73 73 20 55 64 70 4c |====..cl|ass UdpL|
|000013a0| 69 6e 6b 20 65 78 74 65 | 6e 64 73 20 49 6e 74 65 |ink exte|nds Inte|
|000013b0| 72 6e 65 74 4c 69 6e 6b | 0d 0a 09 6e 61 74 69 76 |rnetLink|...nativ|
|000013c0| 65 0d 0a 09 74 72 61 6e | 73 69 65 6e 74 3b 0d 0a |e...tran|sient;..|
|000013d0| 0d 0a 2f 2f 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..//----|--------|
|000013e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000013f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001400| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001410| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001420| 2d 0d 0a 2f 2f 20 56 61 | 72 69 61 62 6c 65 73 2e |-..// Va|riables.|
|00001430| 0d 0a 0d 0a 76 61 72 28 | 29 20 63 6f 6e 73 74 20 |....var(|) const |
|00001440| 69 6e 74 20 42 72 6f 61 | 64 63 61 73 74 41 64 64 |int Broa|dcastAdd|
|00001450| 72 3b 0d 0a 0d 0a 2f 2f | 2d 2d 2d 2d 2d 2d 2d 2d |r;....//|--------|
|00001460| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001470| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001480| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001490| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000014a0| 2d 2d 2d 2d 2d 0d 0a 2f | 2f 20 4e 61 74 69 76 65 |-----../|/ Native|
|000014b0| 73 2e 0d 0a 0d 0a 2f 2f | 20 42 69 6e 64 50 6f 72 |s.....//| BindPor|
|000014c0| 74 3a 20 42 69 6e 64 73 | 20 61 20 66 72 65 65 20 |t: Binds| a free |
|000014d0| 70 6f 72 74 20 6f 72 20 | 6f 70 74 69 6f 6e 61 6c |port or |optional|
|000014e0| 20 70 6f 72 74 20 73 70 | 65 63 69 66 69 65 64 20 | port sp|ecified |
|000014f0| 69 6e 20 61 72 67 75 6d | 65 6e 74 20 6f 6e 65 2e |in argum|ent one.|
|00001500| 0d 0a 6e 61 74 69 76 65 | 20 66 75 6e 63 74 69 6f |..native| functio|
|00001510| 6e 20 69 6e 74 20 42 69 | 6e 64 50 6f 72 74 28 20 |n int Bi|ndPort( |
|00001520| 6f 70 74 69 6f 6e 61 6c | 20 69 6e 74 20 50 6f 72 |optional| int Por|
|00001530| 74 2c 20 6f 70 74 69 6f | 6e 61 6c 20 62 6f 6f 6c |t, optio|nal bool|
|00001540| 20 62 55 73 65 4e 65 78 | 74 41 76 61 69 6c 61 62 | bUseNex|tAvailab|
|00001550| 6c 65 20 29 3b 0d 0a 0d | 0a 2f 2f 20 53 65 6e 64 |le );...|.// Send|
|00001560| 54 65 78 74 3a 20 53 65 | 6e 64 73 20 74 65 78 74 |Text: Se|nds text|
|00001570| 20 73 74 72 69 6e 67 2e | 20 20 0d 0a 2f 2f 20 41 | string.| ..// A|
|00001580| 70 70 65 6e 64 73 20 61 | 20 63 72 2f 6c 66 20 69 |ppends a| cr/lf i|
|00001590| 66 20 4c 69 6e 6b 4d 6f | 64 65 3d 4d 4f 44 45 5f |f LinkMo|de=MODE_|
|000015a0| 4c 69 6e 65 20 2e 0d 0a | 6e 61 74 69 76 65 20 66 |Line ...|native f|
|000015b0| 75 6e 63 74 69 6f 6e 20 | 62 6f 6f 6c 20 53 65 6e |unction |bool Sen|
|000015c0| 64 54 65 78 74 28 20 49 | 70 41 64 64 72 20 41 64 |dText( I|pAddr Ad|
|000015d0| 64 72 2c 20 63 6f 65 72 | 63 65 20 73 74 72 69 6e |dr, coer|ce strin|
|000015e0| 67 20 53 74 72 20 29 3b | 0d 0a 0d 0a 2f 2f 20 53 |g Str );|....// S|
|000015f0| 65 6e 64 42 69 6e 61 72 | 79 3a 20 53 65 6e 64 20 |endBinar|y: Send |
|00001600| 64 61 74 61 20 61 73 20 | 61 20 62 79 74 65 20 61 |data as |a byte a|
|00001610| 72 72 61 79 2e 0d 0a 6e | 61 74 69 76 65 20 66 75 |rray...n|ative fu|
|00001620| 6e 63 74 69 6f 6e 20 62 | 6f 6f 6c 20 53 65 6e 64 |nction b|ool Send|
|00001630| 42 69 6e 61 72 79 28 20 | 49 70 41 64 64 72 20 41 |Binary( |IpAddr A|
|00001640| 64 64 72 2c 20 69 6e 74 | 20 43 6f 75 6e 74 2c 20 |ddr, int| Count, |
|00001650| 62 79 74 65 20 42 5b 32 | 35 35 5d 20 29 3b 0d 0a |byte B[2|55] );..|
|00001660| 0d 0a 2f 2f 20 52 65 61 | 64 54 65 78 74 3a 20 52 |..// Rea|dText: R|
|00001670| 65 61 64 73 20 74 65 78 | 74 20 73 74 72 69 6e 67 |eads tex|t string|
|00001680| 2e 0d 0a 2f 2f 20 52 65 | 74 75 72 6e 73 20 6e 75 |...// Re|turns nu|
|00001690| 6d 62 65 72 20 6f 66 20 | 62 79 74 65 73 20 72 65 |mber of |bytes re|
|000016a0| 61 64 2e 20 20 0d 0a 6e | 61 74 69 76 65 20 66 75 |ad. ..n|ative fu|
|000016b0| 6e 63 74 69 6f 6e 20 69 | 6e 74 20 52 65 61 64 54 |nction i|nt ReadT|
|000016c0| 65 78 74 28 20 6f 75 74 | 20 49 70 41 64 64 72 20 |ext( out| IpAddr |
|000016d0| 41 64 64 72 2c 20 6f 75 | 74 20 73 74 72 69 6e 67 |Addr, ou|t string|
|000016e0| 20 53 74 72 20 29 3b 0d | 0a 0d 0a 2f 2f 20 52 65 | Str );.|...// Re|
|000016f0| 61 64 42 69 6e 61 72 79 | 3a 20 52 65 61 64 20 64 |adBinary|: Read d|
|00001700| 61 74 61 20 61 73 20 61 | 20 62 79 74 65 20 61 72 |ata as a| byte ar|
|00001710| 72 61 79 2e 0d 0a 6e 61 | 74 69 76 65 20 66 75 6e |ray...na|tive fun|
|00001720| 63 74 69 6f 6e 20 69 6e | 74 20 52 65 61 64 42 69 |ction in|t ReadBi|
|00001730| 6e 61 72 79 28 20 6f 75 | 74 20 49 70 41 64 64 72 |nary( ou|t IpAddr|
|00001740| 20 41 64 64 72 2c 20 69 | 6e 74 20 43 6f 75 6e 74 | Addr, i|nt Count|
|00001750| 2c 20 6f 75 74 20 62 79 | 74 65 20 42 5b 32 35 35 |, out by|te B[255|
|00001760| 5d 20 29 3b 0d 0a 0d 0a | 2f 2f 2d 2d 2d 2d 2d 2d |] );....|//------|
|00001770| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001780| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001790| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000017a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000017b0| 2d 2d 2d 2d 2d 2d 2d 0d | 0a 2f 2f 20 45 76 65 6e |-------.|.// Even|
|000017c0| 74 73 2e 0d 0a 0d 0a 2f | 2f 20 52 65 63 65 69 76 |ts...../|/ Receiv|
|000017d0| 65 64 54 65 78 74 3a 20 | 43 61 6c 6c 65 64 20 77 |edText: |Called w|
|000017e0| 68 65 6e 20 64 61 74 61 | 20 69 73 20 72 65 63 65 |hen data| is rece|
|000017f0| 69 76 65 64 20 61 6e 64 | 20 63 6f 6e 6e 65 63 74 |ived and| connect|
|00001800| 69 6f 6e 20 6d 6f 64 65 | 20 69 73 20 4d 4f 44 45 |ion mode| is MODE|
|00001810| 5f 54 65 78 74 2e 0d 0a | 65 76 65 6e 74 20 52 65 |_Text...|event Re|
|00001820| 63 65 69 76 65 64 54 65 | 78 74 28 20 49 70 41 64 |ceivedTe|xt( IpAd|
|00001830| 64 72 20 41 64 64 72 2c | 20 73 74 72 69 6e 67 20 |dr Addr,| string |
|00001840| 54 65 78 74 20 29 3b 0d | 0a 0d 0a 2f 2f 20 52 65 |Text );.|...// Re|
|00001850| 63 65 69 76 65 64 4c 69 | 6e 65 3a 20 43 61 6c 6c |ceivedLi|ne: Call|
|00001860| 65 64 20 77 68 65 6e 20 | 64 61 74 61 20 69 73 20 |ed when |data is |
|00001870| 72 65 63 65 69 76 65 64 | 20 61 6e 64 20 63 6f 6e |received| and con|
|00001880| 6e 65 63 74 69 6f 6e 20 | 6d 6f 64 65 20 69 73 20 |nection |mode is |
|00001890| 4d 4f 44 45 5f 4c 69 6e | 65 2e 0d 0a 65 76 65 6e |MODE_Lin|e...even|
|000018a0| 74 20 52 65 63 65 69 76 | 65 64 4c 69 6e 65 28 20 |t Receiv|edLine( |
|000018b0| 49 70 41 64 64 72 20 41 | 64 64 72 2c 20 73 74 72 |IpAddr A|ddr, str|
|000018c0| 69 6e 67 20 4c 69 6e 65 | 20 29 3b 0d 0a 0d 0a 2f |ing Line| );..../|
|000018d0| 2f 20 52 65 63 65 69 76 | 65 64 42 69 6e 61 72 79 |/ Receiv|edBinary|
|000018e0| 3a 20 43 61 6c 6c 65 64 | 20 77 68 65 6e 20 64 61 |: Called| when da|
|000018f0| 74 61 20 69 73 20 72 65 | 63 65 69 76 65 64 20 61 |ta is re|ceived a|
|00001900| 6e 64 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 20 6d 6f |nd conne|ction mo|
|00001910| 64 65 20 69 73 20 4d 4f | 44 45 5f 42 69 6e 61 72 |de is MO|DE_Binar|
|00001920| 79 2e 0d 0a 65 76 65 6e | 74 20 52 65 63 65 69 76 |y...even|t Receiv|
|00001930| 65 64 42 69 6e 61 72 79 | 28 20 49 70 41 64 64 72 |edBinary|( IpAddr|
|00001940| 20 41 64 64 72 2c 20 69 | 6e 74 20 43 6f 75 6e 74 | Addr, i|nt Count|
|00001950| 2c 20 62 79 74 65 20 42 | 5b 32 35 35 5d 20 29 3b |, byte B|[255] );|
|00001960| 0d 0a 0d 0a 00 00 00 00 | 00 00 00 00 00 00 55 18 |........|......U.|
|00001970| 2f 2f 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |//======|========|
|00001980| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001990| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000019a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000019b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 0d |========|=======.|
|000019c0| 0a 2f 2f 20 55 64 70 42 | 65 61 63 6f 6e 3a 20 42 |.// UdpB|eacon: B|
|000019d0| 61 73 65 20 63 6c 61 73 | 73 20 6f 66 20 62 65 61 |ase clas|s of bea|
|000019e0| 63 6f 6e 20 73 65 6e 64 | 65 72 20 61 6e 64 20 72 |con send|er and r|
|000019f0| 65 63 65 69 76 65 72 2e | 0d 0a 2f 2f 3d 3d 3d 3d |eceiver.|..//====|
|00001a00| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001a10| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001a20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001a30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001a40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0a 63 6c 61 73 73 |========|=..class|
|00001a50| 20 55 64 70 42 65 61 63 | 6f 6e 20 65 78 74 65 6e | UdpBeac|on exten|
|00001a60| 64 73 20 55 64 70 4c 69 | 6e 6b 0d 0a 09 63 6f 6e |ds UdpLi|nk...con|
|00001a70| 66 69 67 0d 0a 09 74 72 | 61 6e 73 69 65 6e 74 3b |fig...tr|ansient;|
|00001a80| 0d 0a 0d 0a 76 61 72 28 | 29 20 67 6c 6f 62 61 6c |....var(|) global|
|00001a90| 63 6f 6e 66 69 67 20 62 | 6f 6f 6c 20 20 20 20 20 |config b|ool |
|00001aa0| 20 20 44 6f 42 65 61 63 | 6f 6e 3b 0d 0a 76 61 72 | DoBeac|on;..var|
|00001ab0| 28 29 20 67 6c 6f 62 61 | 6c 63 6f 6e 66 69 67 20 |() globa|lconfig |
|00001ac0| 69 6e 74 20 20 20 20 20 | 20 20 20 53 65 72 76 65 |int | Serve|
|00001ad0| 72 42 65 61 63 6f 6e 50 | 6f 72 74 3b 09 09 2f 2f |rBeaconP|ort;..//|
|00001ae0| 20 4c 69 73 74 65 6e 20 | 70 6f 72 74 0d 0a 76 61 | Listen |port..va|
|00001af0| 72 28 29 20 67 6c 6f 62 | 61 6c 63 6f 6e 66 69 67 |r() glob|alconfig|
|00001b00| 20 69 6e 74 20 20 20 20 | 20 20 20 20 42 65 61 63 | int | Beac|
|00001b10| 6f 6e 50 6f 72 74 3b 09 | 09 09 2f 2f 20 52 65 70 |onPort;.|..// Rep|
|00001b20| 6c 79 20 70 6f 72 74 0d | 0a 76 61 72 28 29 20 67 |ly port.|.var() g|
|00001b30| 6c 6f 62 61 6c 63 6f 6e | 66 69 67 20 66 6c 6f 61 |lobalcon|fig floa|
|00001b40| 74 20 20 20 20 20 20 42 | 65 61 63 6f 6e 54 69 6d |t B|eaconTim|
|00001b50| 65 6f 75 74 3b 0d 0a 76 | 61 72 28 29 20 67 6c 6f |eout;..v|ar() glo|
|00001b60| 62 61 6c 63 6f 6e 66 69 | 67 20 73 74 72 69 6e 67 |balconfi|g string|
|00001b70| 20 20 20 20 20 42 65 61 | 63 6f 6e 50 72 6f 64 75 | Bea|conProdu|
|00001b80| 63 74 3b 0d 0a 0d 0a 76 | 61 72 20 69 6e 74 09 55 |ct;....v|ar int.U|
|00001b90| 64 70 53 65 72 76 65 72 | 51 75 65 72 79 50 6f 72 |dpServer|QueryPor|
|00001ba0| 74 3b 0d 0a 76 61 72 20 | 69 6e 74 20 62 6f 75 6e |t;..var |int boun|
|00001bb0| 64 70 6f 72 74 3b 0d 0a | 0d 0a 66 75 6e 63 74 69 |dport;..|..functi|
|00001bc0| 6f 6e 20 42 65 67 69 6e | 50 6c 61 79 28 29 0d 0a |on Begin|Play()..|
|00001bd0| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 49 70 41 64 64 72 |{...loca|l IpAddr|
|00001be0| 20 41 64 64 72 3b 0d 0a | 0d 0a 09 62 6f 75 6e 64 | Addr;..|...bound|
|00001bf0| 70 6f 72 74 20 3d 20 42 | 69 6e 64 50 6f 72 74 28 |port = B|indPort(|
|00001c00| 53 65 72 76 65 72 42 65 | 61 63 6f 6e 50 6f 72 74 |ServerBe|aconPort|
|00001c10| 2c 20 54 72 75 65 29 3b | 0d 0a 09 69 66 20 28 20 |, True);|...if ( |
|00001c20| 62 6f 75 6e 64 70 6f 72 | 74 20 3d 3d 20 30 20 29 |boundpor|t == 0 )|
|00001c30| 0d 0a 09 7b 0d 0a 09 09 | 6c 6f 67 28 20 22 55 64 |...{....|log( "Ud|
|00001c40| 70 42 65 61 63 6f 6e 20 | 66 61 69 6c 65 64 20 74 |pBeacon |failed t|
|00001c50| 6f 20 62 69 6e 64 20 61 | 20 70 6f 72 74 2e 22 20 |o bind a| port." |
|00001c60| 29 3b 0d 0a 09 09 72 65 | 74 75 72 6e 3b 0d 0a 09 |);....re|turn;...|
|00001c70| 7d 0d 0a 0d 0a 09 41 64 | 64 72 2e 41 64 64 72 20 |}.....Ad|dr.Addr |
|00001c80| 3d 20 42 72 6f 61 64 63 | 61 73 74 41 64 64 72 3b |= Broadc|astAddr;|
|00001c90| 0d 0a 09 41 64 64 72 2e | 50 6f 72 74 20 3d 20 42 |...Addr.|Port = B|
|00001ca0| 65 61 63 6f 6e 50 6f 72 | 74 3b 0d 0a 09 42 72 6f |eaconPor|t;...Bro|
|00001cb0| 61 64 63 61 73 74 42 65 | 61 63 6f 6e 28 41 64 64 |adcastBe|acon(Add|
|00001cc0| 72 29 3b 20 2f 2f 20 49 | 6e 69 74 69 61 6c 20 6e |r); // I|nitial n|
|00001cd0| 6f 74 69 66 69 63 61 74 | 69 6f 6e 2e 0d 0a 7d 0d |otificat|ion...}.|
|00001ce0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 42 72 6f 61 |...funct|ion Broa|
|00001cf0| 64 63 61 73 74 42 65 61 | 63 6f 6e 28 49 70 41 64 |dcastBea|con(IpAd|
|00001d00| 64 72 20 41 64 64 72 29 | 0d 0a 7b 0d 0a 09 53 65 |dr Addr)|..{...Se|
|00001d10| 6e 64 54 65 78 74 28 20 | 41 64 64 72 2c 20 42 65 |ndText( |Addr, Be|
|00001d20| 61 63 6f 6e 50 72 6f 64 | 75 63 74 20 40 20 4d 69 |aconProd|uct @ Mi|
|00001d30| 64 28 4c 65 76 65 6c 2e | 47 65 74 41 64 64 72 65 |d(Level.|GetAddre|
|00001d40| 73 73 55 52 4c 28 29 2c | 49 6e 53 74 72 28 4c 65 |ssURL(),|InStr(Le|
|00001d50| 76 65 6c 2e 47 65 74 41 | 64 64 72 65 73 73 55 52 |vel.GetA|ddressUR|
|00001d60| 4c 28 29 2c 22 3a 22 29 | 2b 31 29 20 40 20 4c 65 |L(),":")|+1) @ Le|
|00001d70| 76 65 6c 2e 47 61 6d 65 | 2e 47 65 74 42 65 61 63 |vel.Game|.GetBeac|
|00001d80| 6f 6e 54 65 78 74 28 29 | 20 29 3b 0d 0a 09 2f 2f |onText()| );...//|
|00001d90| 4c 6f 67 28 20 22 55 64 | 70 42 65 61 63 6f 6e 3a |Log( "Ud|pBeacon:|
|00001da0| 20 73 65 6e 64 69 6e 67 | 20 72 65 70 6c 79 20 74 | sending| reply t|
|00001db0| 6f 20 22 24 49 70 41 64 | 64 72 54 6f 53 74 72 69 |o "$IpAd|drToStri|
|00001dc0| 6e 67 28 41 64 64 72 29 | 20 29 3b 0d 0a 7d 0d 0a |ng(Addr)| );..}..|
|00001dd0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 42 72 6f 61 64 |..functi|on Broad|
|00001de0| 63 61 73 74 42 65 61 63 | 6f 6e 51 75 65 72 79 28 |castBeac|onQuery(|
|00001df0| 49 70 41 64 64 72 20 41 | 64 64 72 29 0d 0a 7b 0d |IpAddr A|ddr)..{.|
|00001e00| 0a 09 53 65 6e 64 54 65 | 78 74 28 20 41 64 64 72 |..SendTe|xt( Addr|
|00001e10| 2c 20 42 65 61 63 6f 6e | 50 72 6f 64 75 63 74 20 |, Beacon|Product |
|00001e20| 40 20 55 64 70 53 65 72 | 76 65 72 51 75 65 72 79 |@ UdpSer|verQuery|
|00001e30| 50 6f 72 74 20 29 3b 0d | 0a 09 2f 2f 4c 6f 67 28 |Port );.|..//Log(|
|00001e40| 20 22 55 64 70 42 65 61 | 63 6f 6e 3a 20 73 65 6e | "UdpBea|con: sen|
|00001e50| 64 69 6e 67 20 71 75 65 | 72 79 20 72 65 70 6c 79 |ding que|ry reply|
|00001e60| 20 74 6f 20 22 24 49 70 | 41 64 64 72 54 6f 53 74 | to "$Ip|AddrToSt|
|00001e70| 72 69 6e 67 28 41 64 64 | 72 29 20 29 3b 0d 0a 7d |ring(Add|r) );..}|
|00001e80| 0d 0a 0d 0a 65 76 65 6e | 74 20 52 65 63 65 69 76 |....even|t Receiv|
|00001e90| 65 64 54 65 78 74 28 20 | 49 70 41 64 64 72 20 41 |edText( |IpAddr A|
|00001ea0| 64 64 72 2c 20 73 74 72 | 69 6e 67 20 54 65 78 74 |ddr, str|ing Text|
|00001eb0| 20 29 0d 0a 7b 0d 0a 09 | 69 66 28 20 54 65 78 74 | )..{...|if( Text|
|00001ec0| 20 3d 3d 20 22 52 45 50 | 4f 52 54 22 20 29 0d 0a | == "REP|ORT" )..|
|00001ed0| 09 09 42 72 6f 61 64 63 | 61 73 74 42 65 61 63 6f |..Broadc|astBeaco|
|00001ee0| 6e 28 41 64 64 72 29 3b | 0d 0a 0d 0a 09 69 66 28 |n(Addr);|.....if(|
|00001ef0| 20 54 65 78 74 20 3d 3d | 20 22 52 45 50 4f 52 54 | Text ==| "REPORT|
|00001f00| 51 55 45 52 59 22 20 29 | 0d 0a 09 09 42 72 6f 61 |QUERY" )|....Broa|
|00001f10| 64 63 61 73 74 42 65 61 | 63 6f 6e 51 75 65 72 79 |dcastBea|conQuery|
|00001f20| 28 41 64 64 72 29 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |(Addr);.|.}....fu|
|00001f30| 6e 63 74 69 6f 6e 20 44 | 65 73 74 72 6f 79 65 64 |nction D|estroyed|
|00001f40| 28 29 0d 0a 7b 0d 0a 09 | 53 75 70 65 72 2e 44 65 |()..{...|Super.De|
|00001f50| 73 74 72 6f 79 65 64 28 | 29 3b 0d 0a 09 2f 2f 4c |stroyed(|);...//L|
|00001f60| 6f 67 28 22 53 65 72 76 | 65 72 42 65 61 63 6f 6e |og("Serv|erBeacon|
|00001f70| 20 44 65 73 74 72 6f 79 | 65 64 22 29 3b 0d 0a 7d | Destroy|ed");..}|
|00001f80| 0d 0a 0d 0a 00 00 2a 74 | 01 00 4b 01 07 3f 00 00 |......*t|..K..?..|
|00001f90| 00 12 05 00 00 15 00 00 | 00 1b 05 00 4b 01 1f 52 |........|....K..R|
|00001fa0| 45 50 4f 52 54 00 16 04 | 0b 00 00 00 02 00 00 00 |EPORT...|........|
|00001fb0| 00 00 59 01 00 21 3e 42 | 00 00 00 ab 06 00 00 05 |..Y..!>B|........|
|00001fc0| 00 00 00 29 21 00 00 00 | 00 04 00 00 00 39 77 01 |...)!...|.....9w.|
|00001fd0| 00 0e 08 46 00 00 00 7e | 05 00 00 3f 01 00 00 0f |...F...~|...?....|
|00001fe0| 00 0b 7d 01 09 16 07 3d | 01 7c 80 00 06 92 00 0b |..}....=|.|......|
|00001ff0| 26 16 16 70 01 09 1f 20 | 00 16 16 0f 00 06 7f 00 |&..p... |........|
|00002000| 06 92 00 0b 26 16 16 0f | 36 0d 00 0e 4a 00 06 0f |....&...|6...J...|
|00002010| 00 02 25 07 8e 00 96 00 | 02 2c 20 16 07 84 00 32 |..%.....|., ....2|
|00002020| 01 36 05 1a 00 02 01 03 | 00 0e 06 8e 00 a5 00 02 |.6......|........|
|00002030| 16 06 58 00 07 d5 00 9a | 00 02 2c 20 16 0f 00 02 |..X.....|.., ....|
|00002040| 25 07 d5 00 96 00 02 2c | 20 16 07 cb 00 9a 36 08 |%......,| .....6.|
|00002050| 36 05 1a 00 02 01 03 25 | 16 06 d5 00 a5 00 02 16 |6......%|........|
|00002060| 06 a1 00 07 e3 00 9a 00 | 02 2c 20 16 04 0b 0f 36 |........|., ....6|
|00002070| 05 1a 00 02 01 03 00 0e | 0f 36 13 1a 00 02 01 03 |........|.6......|
|00002080| 19 01 8d 05 00 04 01 92 | 0f 36 10 1a 00 02 01 03 |........|.6......|
|00002090| 7f 00 06 92 7e 00 06 1f | 20 00 16 26 16 16 04 0b |....~...| ..&....|
|000020a0| 00 00 00 02 08 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020b0| 70 33 2f 2f 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |p3//====|========|
|000020c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000020d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000020e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000020f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002100| 3d 0d 0a 2f 2f 20 54 63 | 70 4c 69 6e 6b 3a 20 41 |=..// Tc|pLink: A|
|00002110| 6e 20 49 6e 74 65 72 6e | 65 74 20 54 43 50 2f 49 |n Intern|et TCP/I|
|00002120| 50 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 2e 0d 0a 2f |P connec|tion.../|
|00002130| 2f 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |/=======|========|
|00002140| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002150| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002160| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002170| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0d 0a |========|======..|
|00002180| 63 6c 61 73 73 20 54 63 | 70 4c 69 6e 6b 20 65 78 |class Tc|pLink ex|
|00002190| 74 65 6e 64 73 20 49 6e | 74 65 72 6e 65 74 4c 69 |tends In|ternetLi|
|000021a0| 6e 6b 0d 0a 09 6e 61 74 | 69 76 65 0d 0a 09 74 72 |nk...nat|ive...tr|
|000021b0| 61 6e 73 69 65 6e 74 3b | 0d 0a 0d 0a 2f 2f 2d 2d |ansient;|....//--|
|000021c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000021f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002200| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0a 2f 2f 20 |--------|---..// |
|00002210| 56 61 72 69 61 62 6c 65 | 73 2e 0d 0a 0d 0a 2f 2f |Variable|s.....//|
|00002220| 20 4c 69 6e 6b 53 74 61 | 74 65 20 69 73 20 6f 6e | LinkSta|te is on|
|00002230| 6c 79 20 76 61 6c 69 64 | 20 66 6f 72 20 54 63 70 |ly valid| for Tcp|
|00002240| 4c 69 6e 6b 20 61 74 20 | 74 68 69 73 20 74 69 6d |Link at |this tim|
|00002250| 65 2e 0d 0a 76 61 72 20 | 65 6e 75 6d 20 45 4c 69 |e...var |enum ELi|
|00002260| 6e 6b 53 74 61 74 65 0d | 0a 7b 0d 0a 09 53 54 41 |nkState.|.{...STA|
|00002270| 54 45 5f 49 6e 69 74 69 | 61 6c 69 7a 65 64 2c 09 |TE_Initi|alized,.|
|00002280| 09 2f 2f 20 53 6f 63 6b | 65 74 73 20 69 73 20 69 |.// Sock|ets is i|
|00002290| 6e 69 74 69 61 6c 69 7a | 65 64 0d 0a 09 53 54 41 |nitializ|ed...STA|
|000022a0| 54 45 5f 52 65 61 64 79 | 2c 09 09 09 2f 2f 20 50 |TE_Ready|,...// P|
|000022b0| 6f 72 74 20 62 6f 75 6e | 64 2c 20 72 65 61 64 79 |ort boun|d, ready|
|000022c0| 20 66 6f 72 20 61 63 74 | 69 76 69 74 79 0d 0a 09 | for act|ivity...|
|000022d0| 53 54 41 54 45 5f 4c 69 | 73 74 65 6e 69 6e 67 2c |STATE_Li|stening,|
|000022e0| 09 09 2f 2f 20 4c 69 73 | 74 65 6e 69 6e 67 20 66 |..// Lis|tening f|
|000022f0| 6f 72 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 73 0d 0a |or conne|ctions..|
|00002300| 09 53 54 41 54 45 5f 43 | 6f 6e 6e 65 63 74 69 6e |.STATE_C|onnectin|
|00002310| 67 2c 09 09 2f 2f 20 41 | 74 74 65 6d 70 74 69 6e |g,..// A|ttemptin|
|00002320| 67 20 74 6f 20 63 6f 6e | 6e 65 63 74 0d 0a 09 53 |g to con|nect...S|
|00002330| 54 41 54 45 5f 43 6f 6e | 6e 65 63 74 65 64 2c 09 |TATE_Con|nected,.|
|00002340| 09 2f 2f 20 4f 70 65 6e | 20 61 6e 64 20 63 6f 6e |.// Open| and con|
|00002350| 6e 65 63 74 65 64 0d 0a | 09 53 54 41 54 45 5f 4c |nected..|.STATE_L|
|00002360| 69 73 74 65 6e 43 6c 6f | 73 65 50 65 6e 64 69 6e |istenClo|sePendin|
|00002370| 67 2c 2f 2f 20 53 6f 63 | 6b 65 74 20 69 6e 20 70 |g,// Soc|ket in p|
|00002380| 72 6f 63 65 73 73 20 6f | 66 20 63 6c 6f 73 69 6e |rocess o|f closin|
|00002390| 67 0d 0a 09 53 54 41 54 | 45 5f 43 6f 6e 6e 65 63 |g...STAT|E_Connec|
|000023a0| 74 43 6c 6f 73 65 50 65 | 6e 64 69 6e 67 2c 2f 2f |tClosePe|nding,//|
|000023b0| 20 53 6f 63 6b 65 74 20 | 69 6e 20 70 72 6f 63 65 | Socket |in proce|
|000023c0| 73 73 20 6f 66 20 63 6c | 6f 73 69 6e 67 0d 0a 09 |ss of cl|osing...|
|000023d0| 53 54 41 54 45 5f 4c 69 | 73 74 65 6e 43 6c 6f 73 |STATE_Li|stenClos|
|000023e0| 69 6e 67 2c 09 2f 2f 20 | 53 6f 63 6b 65 74 20 69 |ing,.// |Socket i|
|000023f0| 6e 20 70 72 6f 63 65 73 | 73 20 6f 66 20 63 6c 6f |n proces|s of clo|
|00002400| 73 69 6e 67 0d 0a 09 53 | 54 41 54 45 5f 43 6f 6e |sing...S|TATE_Con|
|00002410| 6e 65 63 74 43 6c 6f 73 | 69 6e 67 09 2f 2f 20 53 |nectClos|ing.// S|
|00002420| 6f 63 6b 65 74 20 69 6e | 20 70 72 6f 63 65 73 73 |ocket in| process|
|00002430| 20 6f 66 20 63 6c 6f 73 | 69 6e 67 0d 0a 7d 20 4c | of clos|ing..} L|
|00002440| 69 6e 6b 53 74 61 74 65 | 3b 0d 0a 0d 0a 76 61 72 |inkState|;....var|
|00002450| 20 49 70 41 64 64 72 09 | 20 20 52 65 6d 6f 74 65 | IpAddr.| Remote|
|00002460| 41 64 64 72 3b 09 2f 2f | 20 43 6f 6e 74 61 69 6e |Addr;.//| Contain|
|00002470| 73 20 61 64 64 72 65 73 | 73 20 6f 66 20 70 65 65 |s addres|s of pee|
|00002480| 72 20 63 6f 6e 6e 65 63 | 74 65 64 20 74 6f 20 66 |r connec|ted to f|
|00002490| 72 6f 6d 20 61 20 4c 69 | 73 74 65 6e 28 29 0d 0a |rom a Li|sten()..|
|000024a0| 0d 0a 2f 2f 20 49 66 20 | 41 63 63 65 70 74 43 6c |..// If |AcceptCl|
|000024b0| 61 73 73 20 69 73 20 6e | 6f 74 20 4e 6f 6e 65 2c |ass is n|ot None,|
|000024c0| 20 61 6e 20 61 63 74 6f | 72 20 6f 66 20 63 6c 61 | an acto|r of cla|
|000024d0| 73 73 20 41 63 63 65 70 | 74 43 6c 61 73 73 20 77 |ss Accep|tClass w|
|000024e0| 69 6c 6c 20 62 65 20 73 | 70 61 77 6e 65 64 20 77 |ill be s|pawned w|
|000024f0| 68 65 6e 20 61 6e 0d 0a | 2f 2f 20 69 6e 63 6f 6d |hen an..|// incom|
|00002500| 69 6e 67 20 63 6f 6e 6e | 65 63 74 69 6e 67 20 69 |ing conn|ecting i|
|00002510| 73 20 61 63 63 65 70 74 | 65 64 2c 20 6c 65 61 76 |s accept|ed, leav|
|00002520| 69 6e 67 20 74 68 65 20 | 6c 69 73 74 65 6e 65 72 |ing the |listener|
|00002530| 20 6f 70 65 6e 20 74 6f | 20 61 63 63 65 70 74 20 | open to| accept |
|00002540| 6d 6f 72 65 20 63 6f 6e | 6e 65 63 74 69 6f 6e 73 |more con|nections|
|00002550| 2e 0d 0a 2f 2f 20 41 63 | 63 65 70 74 65 64 28 29 |...// Ac|cepted()|
|00002560| 20 69 73 20 63 61 6c 6c | 65 64 20 6f 6e 6c 79 20 | is call|ed only |
|00002570| 69 6e 20 74 68 65 20 63 | 68 69 6c 64 20 63 6c 61 |in the c|hild cla|
|00002580| 73 73 2e 20 20 59 6f 75 | 20 63 61 6e 20 75 73 65 |ss. You| can use|
|00002590| 20 74 68 65 20 4c 6f 73 | 74 43 68 69 6c 64 28 29 | the Los|tChild()|
|000025a0| 20 61 6e 64 20 47 61 69 | 6e 65 64 43 68 69 6c 64 | and Gai|nedChild|
|000025b0| 28 29 0d 0a 2f 2f 20 65 | 76 65 6e 74 73 20 74 6f |()..// e|vents to|
|000025c0| 20 74 72 61 63 6b 20 79 | 6f 75 72 20 63 68 69 6c | track y|our chil|
|000025d0| 64 72 65 6e 2e 0d 0a 76 | 61 72 20 63 6c 61 73 73 |dren...v|ar class|
|000025e0| 3c 54 63 70 4c 69 6e 6b | 3e 20 41 63 63 65 70 74 |<TcpLink|> Accept|
|000025f0| 43 6c 61 73 73 3b 0d 0a | 76 61 72 20 63 6f 6e 73 |Class;..|var cons|
|00002600| 74 20 41 72 72 61 79 3c | 62 79 74 65 3e 20 53 65 |t Array<|byte> Se|
|00002610| 6e 64 46 49 46 4f 3b 20 | 2f 2f 20 73 65 6e 64 20 |ndFIFO; |// send |
|00002620| 66 69 66 6f 0d 0a 2f 2f | 2d 2d 2d 2d 2d 2d 2d 2d |fifo..//|--------|
|00002630| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002640| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002650| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002660| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002670| 2d 2d 2d 2d 2d 0d 0a 2f | 2f 20 6e 61 74 69 76 65 |-----../|/ native|
|00002680| 73 2e 0d 0a 0d 0a 2f 2f | 20 42 69 6e 64 50 6f 72 |s.....//| BindPor|
|00002690| 74 3a 20 42 69 6e 64 73 | 20 61 20 66 72 65 65 20 |t: Binds| a free |
|000026a0| 70 6f 72 74 20 6f 72 20 | 6f 70 74 69 6f 6e 61 6c |port or |optional|
|000026b0| 20 70 6f 72 74 20 73 70 | 65 63 69 66 69 65 64 20 | port sp|ecified |
|000026c0| 69 6e 20 61 72 67 75 6d | 65 6e 74 20 6f 6e 65 2e |in argum|ent one.|
|000026d0| 0d 0a 6e 61 74 69 76 65 | 20 66 75 6e 63 74 69 6f |..native| functio|
|000026e0| 6e 20 69 6e 74 20 42 69 | 6e 64 50 6f 72 74 28 20 |n int Bi|ndPort( |
|000026f0| 6f 70 74 69 6f 6e 61 6c | 20 69 6e 74 20 50 6f 72 |optional| int Por|
|00002700| 74 2c 20 6f 70 74 69 6f | 6e 61 6c 20 62 6f 6f 6c |t, optio|nal bool|
|00002710| 20 62 55 73 65 4e 65 78 | 74 41 76 61 69 6c 61 62 | bUseNex|tAvailab|
|00002720| 6c 65 20 29 3b 0d 0a 0d | 0a 2f 2f 20 4c 69 73 74 |le );...|.// List|
|00002730| 65 6e 3a 20 4c 69 73 74 | 65 6e 20 66 6f 72 20 63 |en: List|en for c|
|00002740| 6f 6e 6e 65 63 74 69 6f | 6e 73 2e 20 20 43 61 6e |onnectio|ns. Can|
|00002750| 20 68 61 6e 64 6c 65 20 | 75 70 20 74 6f 20 35 20 | handle |up to 5 |
|00002760| 73 69 6d 75 6c 74 61 6e | 65 6f 75 73 20 63 6f 6e |simultan|eous con|
|00002770| 6e 65 63 74 69 6f 6e 73 | 2e 0d 0a 2f 2f 20 52 65 |nections|...// Re|
|00002780| 74 75 72 6e 73 20 66 61 | 6c 73 65 20 69 66 20 66 |turns fa|lse if f|
|00002790| 61 69 6c 65 64 20 74 6f | 20 70 6c 61 63 65 20 73 |ailed to| place s|
|000027a0| 6f 63 6b 65 74 20 69 6e | 20 6c 69 73 74 65 6e 20 |ocket in| listen |
|000027b0| 6d 6f 64 65 2e 0d 0a 6e | 61 74 69 76 65 20 66 75 |mode...n|ative fu|
|000027c0| 6e 63 74 69 6f 6e 20 62 | 6f 6f 6c 20 4c 69 73 74 |nction b|ool List|
|000027d0| 65 6e 28 29 3b 0d 0a 0d | 0a 2f 2f 20 4f 70 65 6e |en();...|.// Open|
|000027e0| 3a 20 4f 70 65 6e 20 61 | 20 63 6f 6e 6e 65 63 74 |: Open a| connect|
|000027f0| 69 6f 6e 20 74 6f 20 61 | 20 66 6f 72 65 69 67 6e |ion to a| foreign|
|00002800| 20 68 6f 73 74 2e 0d 0a | 6e 61 74 69 76 65 20 66 | host...|native f|
|00002810| 75 6e 63 74 69 6f 6e 20 | 62 6f 6f 6c 20 4f 70 65 |unction |bool Ope|
|00002820| 6e 28 20 49 70 41 64 64 | 72 20 41 64 64 72 20 29 |n( IpAdd|r Addr )|
|00002830| 3b 0d 0a 0d 0a 2f 2f 20 | 43 6c 6f 73 65 3a 20 43 |;....// |Close: C|
|00002840| 6c 6f 73 65 73 20 74 68 | 65 20 63 75 72 72 65 6e |loses th|e curren|
|00002850| 74 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 2e 20 20 20 |t connec|tion. |
|00002860| 0d 0a 6e 61 74 69 76 65 | 20 66 75 6e 63 74 69 6f |..native| functio|
|00002870| 6e 20 62 6f 6f 6c 20 43 | 6c 6f 73 65 28 29 3b 0d |n bool C|lose();.|
|00002880| 0a 0d 0a 2f 2f 20 49 73 | 43 6f 6e 6e 65 63 74 65 |...// Is|Connecte|
|00002890| 64 3a 20 52 65 74 75 72 | 6e 73 20 74 72 75 65 20 |d: Retur|ns true |
|000028a0| 69 66 20 63 6f 6e 6e 65 | 63 74 65 64 2e 0d 0a 6e |if conne|cted...n|
|000028b0| 61 74 69 76 65 20 66 75 | 6e 63 74 69 6f 6e 20 62 |ative fu|nction b|
|000028c0| 6f 6f 6c 20 49 73 43 6f | 6e 6e 65 63 74 65 64 28 |ool IsCo|nnected(|
|000028d0| 29 3b 0d 0a 0d 0a 2f 2f | 20 53 65 6e 64 54 65 78 |);....//| SendTex|
|000028e0| 74 3a 20 53 65 6e 64 73 | 20 74 65 78 74 20 73 74 |t: Sends| text st|
|000028f0| 72 69 6e 67 2e 20 0d 0a | 2f 2f 20 41 70 70 65 6e |ring. ..|// Appen|
|00002900| 64 73 20 61 20 63 72 2f | 6c 66 20 69 66 20 4c 69 |ds a cr/|lf if Li|
|00002910| 6e 6b 4d 6f 64 65 3d 4d | 4f 44 45 5f 4c 69 6e 65 |nkMode=M|ODE_Line|
|00002920| 2e 20 20 52 65 74 75 72 | 6e 73 20 6e 75 6d 62 65 |. Retur|ns numbe|
|00002930| 72 20 6f 66 20 62 79 74 | 65 73 20 73 65 6e 74 2e |r of byt|es sent.|
|00002940| 0d 0a 6e 61 74 69 76 65 | 20 66 75 6e 63 74 69 6f |..native| functio|
|00002950| 6e 20 69 6e 74 20 53 65 | 6e 64 54 65 78 74 28 20 |n int Se|ndText( |
|00002960| 63 6f 65 72 63 65 20 73 | 74 72 69 6e 67 20 53 74 |coerce s|tring St|
|00002970| 72 20 29 3b 0d 0a 0d 0a | 2f 2f 20 53 65 6e 64 42 |r );....|// SendB|
|00002980| 69 6e 61 72 79 3a 20 53 | 65 6e 64 20 64 61 74 61 |inary: S|end data|
|00002990| 20 61 73 20 61 20 62 79 | 74 65 20 61 72 72 61 79 | as a by|te array|
|000029a0| 2e 0d 0a 6e 61 74 69 76 | 65 20 66 75 6e 63 74 69 |...nativ|e functi|
|000029b0| 6f 6e 20 69 6e 74 20 53 | 65 6e 64 42 69 6e 61 72 |on int S|endBinar|
|000029c0| 79 28 20 69 6e 74 20 43 | 6f 75 6e 74 2c 20 62 79 |y( int C|ount, by|
|000029d0| 74 65 20 42 5b 32 35 35 | 5d 20 29 3b 0d 0a 0d 0a |te B[255|] );....|
|000029e0| 2f 2f 20 52 65 61 64 54 | 65 78 74 3a 20 52 65 61 |// ReadT|ext: Rea|
|000029f0| 64 73 20 74 65 78 74 20 | 73 74 72 69 6e 67 2e 0d |ds text |string..|
|00002a00| 0a 2f 2f 20 52 65 74 75 | 72 6e 73 20 6e 75 6d 62 |.// Retu|rns numb|
|00002a10| 65 72 20 6f 66 20 62 79 | 74 65 73 20 72 65 61 64 |er of by|tes read|
|00002a20| 2e 20 20 0d 0a 6e 61 74 | 69 76 65 20 66 75 6e 63 |. ..nat|ive func|
|00002a30| 74 69 6f 6e 20 69 6e 74 | 20 52 65 61 64 54 65 78 |tion int| ReadTex|
|00002a40| 74 28 20 6f 75 74 20 73 | 74 72 69 6e 67 20 53 74 |t( out s|tring St|
|00002a50| 72 20 29 3b 0d 0a 0d 0a | 2f 2f 20 52 65 61 64 42 |r );....|// ReadB|
|00002a60| 69 6e 61 72 79 3a 20 52 | 65 61 64 20 64 61 74 61 |inary: R|ead data|
|00002a70| 20 61 73 20 61 20 62 79 | 74 65 20 61 72 72 61 79 | as a by|te array|
|00002a80| 2e 0d 0a 6e 61 74 69 76 | 65 20 66 75 6e 63 74 69 |...nativ|e functi|
|00002a90| 6f 6e 20 69 6e 74 20 52 | 65 61 64 42 69 6e 61 72 |on int R|eadBinar|
|00002aa0| 79 28 20 69 6e 74 20 43 | 6f 75 6e 74 2c 20 6f 75 |y( int C|ount, ou|
|00002ab0| 74 20 62 79 74 65 20 42 | 5b 32 35 35 5d 20 29 3b |t byte B|[255] );|
|00002ac0| 0d 0a 0d 0a 2f 2f 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |....//--|--------|
|00002ad0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002ae0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002af0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002b00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002b10| 2d 2d 2d 0d 0a 2f 2f 20 | 45 76 65 6e 74 73 2e 0d |---..// |Events..|
|00002b20| 0a 0d 0a 2f 2f 20 41 63 | 63 65 70 74 65 64 3a 20 |...// Ac|cepted: |
|00002b30| 43 61 6c 6c 65 64 20 64 | 75 72 69 6e 67 20 53 54 |Called d|uring ST|
|00002b40| 41 54 45 5f 4c 69 73 74 | 65 6e 69 6e 67 20 77 68 |ATE_List|ening wh|
|00002b50| 65 6e 20 61 20 6e 65 77 | 20 63 6f 6e 6e 65 63 74 |en a new| connect|
|00002b60| 69 6f 6e 20 69 73 20 61 | 63 63 65 70 74 65 64 2e |ion is a|ccepted.|
|00002b70| 0d 0a 65 76 65 6e 74 20 | 41 63 63 65 70 74 65 64 |..event |Accepted|
|00002b80| 28 29 3b 0d 0a 0d 0a 2f | 2f 20 4f 70 65 6e 65 64 |();..../|/ Opened|
|00002b90| 3a 20 43 61 6c 6c 65 64 | 20 77 68 65 6e 20 73 6f |: Called| when so|
|00002ba0| 63 6b 65 74 20 73 75 63 | 63 65 73 73 66 75 6c 6c |cket suc|cessfull|
|00002bb0| 79 20 63 6f 6e 6e 65 63 | 74 73 2e 0d 0a 65 76 65 |y connec|ts...eve|
|00002bc0| 6e 74 20 4f 70 65 6e 65 | 64 28 29 3b 0d 0a 0d 0a |nt Opene|d();....|
|00002bd0| 2f 2f 20 43 6c 6f 73 65 | 64 3a 20 43 61 6c 6c 65 |// Close|d: Calle|
|00002be0| 64 20 77 68 65 6e 20 43 | 6c 6f 73 65 28 29 20 63 |d when C|lose() c|
|00002bf0| 6f 6d 70 6c 65 74 65 73 | 20 6f 72 20 74 68 65 20 |ompletes| or the |
|00002c00| 63 6f 6e 6e 65 63 74 69 | 6f 6e 20 69 73 20 64 72 |connecti|on is dr|
|00002c10| 6f 70 70 65 64 2e 0d 0a | 65 76 65 6e 74 20 43 6c |opped...|event Cl|
|00002c20| 6f 73 65 64 28 29 3b 0d | 0a 0d 0a 2f 2f 20 52 65 |osed();.|...// Re|
|00002c30| 63 65 69 76 65 64 54 65 | 78 74 3a 20 43 61 6c 6c |ceivedTe|xt: Call|
|00002c40| 65 64 20 77 68 65 6e 20 | 64 61 74 61 20 69 73 20 |ed when |data is |
|00002c50| 72 65 63 65 69 76 65 64 | 20 61 6e 64 20 63 6f 6e |received| and con|
|00002c60| 6e 65 63 74 69 6f 6e 20 | 6d 6f 64 65 20 69 73 20 |nection |mode is |
|00002c70| 4d 4f 44 45 5f 54 65 78 | 74 2e 0d 0a 65 76 65 6e |MODE_Tex|t...even|
|00002c80| 74 20 52 65 63 65 69 76 | 65 64 54 65 78 74 28 20 |t Receiv|edText( |
|00002c90| 73 74 72 69 6e 67 20 54 | 65 78 74 20 29 3b 0d 0a |string T|ext );..|
|00002ca0| 0d 0a 2f 2f 20 52 65 63 | 65 69 76 65 64 4c 69 6e |..// Rec|eivedLin|
|00002cb0| 65 3a 20 43 61 6c 6c 65 | 64 20 77 68 65 6e 20 64 |e: Calle|d when d|
|00002cc0| 61 74 61 20 69 73 20 72 | 65 63 65 69 76 65 64 20 |ata is r|eceived |
|00002cd0| 61 6e 64 20 63 6f 6e 6e | 65 63 74 69 6f 6e 20 6d |and conn|ection m|
|00002ce0| 6f 64 65 20 69 73 20 4d | 4f 44 45 5f 4c 69 6e 65 |ode is M|ODE_Line|
|00002cf0| 2e 0d 0a 65 76 65 6e 74 | 20 52 65 63 65 69 76 65 |...event| Receive|
|00002d00| 64 4c 69 6e 65 28 20 73 | 74 72 69 6e 67 20 4c 69 |dLine( s|tring Li|
|00002d10| 6e 65 20 29 3b 0d 0a 0d | 0a 2f 2f 20 52 65 63 65 |ne );...|.// Rece|
|00002d20| 69 76 65 64 42 69 6e 61 | 72 79 3a 20 43 61 6c 6c |ivedBina|ry: Call|
|00002d30| 65 64 20 77 68 65 6e 20 | 64 61 74 61 20 69 73 20 |ed when |data is |
|00002d40| 72 65 63 65 69 76 65 64 | 20 61 6e 64 20 63 6f 6e |received| and con|
|00002d50| 6e 65 63 74 69 6f 6e 20 | 6d 6f 64 65 20 69 73 20 |nection |mode is |
|00002d60| 4d 4f 44 45 5f 42 69 6e | 61 72 79 2e 0d 0a 65 76 |MODE_Bin|ary...ev|
|00002d70| 65 6e 74 20 52 65 63 65 | 69 76 65 64 42 69 6e 61 |ent Rece|ivedBina|
|00002d80| 72 79 28 20 69 6e 74 20 | 43 6f 75 6e 74 2c 20 62 |ry( int |Count, b|
|00002d90| 79 74 65 20 42 5b 32 35 | 35 5d 20 29 3b 0d 0a 0d |yte B[25|5] );...|
|00002da0| 0a 00 00 00 00 00 00 00 | 00 00 00 40 27 2f 2f 3d |........|...@'//=|
|00002db0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002dc0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002dd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002de0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002df0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 0d 0a 2f 2f |========|====..//|
|00002e00| 20 49 6e 74 65 72 6e 65 | 74 4c 69 6e 6b 3a 20 50 | Interne|tLink: P|
|00002e10| 61 72 65 6e 74 20 63 6c | 61 73 73 20 66 6f 72 20 |arent cl|ass for |
|00002e20| 49 6e 74 65 72 6e 65 74 | 20 63 6f 6e 6e 65 63 74 |Internet| connect|
|00002e30| 69 6f 6e 20 63 6c 61 73 | 73 65 73 0d 0a 2f 2f 3d |ion clas|ses..//=|
|00002e40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002e50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002e60| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002e70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002e80| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 0d 0a 63 6c |========|====..cl|
|00002e90| 61 73 73 20 49 6e 74 65 | 72 6e 65 74 4c 69 6e 6b |ass Inte|rnetLink|
|00002ea0| 20 65 78 74 65 6e 64 73 | 20 49 6e 74 65 72 6e 65 | extends| Interne|
|00002eb0| 74 49 6e 66 6f 0d 0a 09 | 6e 61 74 69 76 65 0d 0a |tInfo...|native..|
|00002ec0| 09 74 72 61 6e 73 69 65 | 6e 74 3b 0d 0a 0d 0a 2f |.transie|nt;..../|
|00002ed0| 2f 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |/-------|--------|
|00002ee0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002ef0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0a |--------|------..|
|00002f20| 2f 2f 20 54 79 70 65 73 | 20 26 20 56 61 72 69 61 |// Types| & Varia|
|00002f30| 62 6c 65 73 2e 0d 0a 0d | 0a 2f 2f 20 41 6e 20 49 |bles....|.// An I|
|00002f40| 50 20 61 64 64 72 65 73 | 73 2e 0d 0a 73 74 72 75 |P addres|s...stru|
|00002f50| 63 74 20 49 70 41 64 64 | 72 0d 0a 7b 0d 0a 09 76 |ct IpAdd|r..{...v|
|00002f60| 61 72 20 69 6e 74 20 41 | 64 64 72 3b 0d 0a 09 76 |ar int A|ddr;...v|
|00002f70| 61 72 20 69 6e 74 20 50 | 6f 72 74 3b 0d 0a 7d 3b |ar int P|ort;..};|
|00002f80| 0d 0a 0d 0a 2f 2f 20 44 | 61 74 61 20 72 65 63 65 |....// D|ata rece|
|00002f90| 69 76 65 20 6d 6f 64 65 | 2e 0d 0a 2f 2f 20 43 61 |ive mode|...// Ca|
|00002fa0| 6e 6e 6f 74 20 62 65 20 | 73 65 74 20 69 6e 20 64 |nnot be |set in d|
|00002fb0| 65 66 61 75 6c 74 20 70 | 72 6f 70 65 72 74 69 65 |efault p|ropertie|
|00002fc0| 73 2e 0d 0a 76 61 72 20 | 65 6e 75 6d 20 45 4c 69 |s...var |enum ELi|
|00002fd0| 6e 6b 4d 6f 64 65 0d 0a | 7b 0d 0a 09 4d 4f 44 45 |nkMode..|{...MODE|
|00002fe0| 5f 54 65 78 74 2c 20 0d | 0a 09 4d 4f 44 45 5f 4c |_Text, .|..MODE_L|
|00002ff0| 69 6e 65 2c 0d 0a 09 4d | 4f 44 45 5f 42 69 6e 61 |ine,...M|ODE_Bina|
|00003000| 72 79 0d 0a 7d 20 4c 69 | 6e 6b 4d 6f 64 65 3b 0d |ry..} Li|nkMode;.|
|00003010| 0a 0d 0a 2f 2f 20 49 6e | 74 65 72 6e 61 6c 0d 0a |...// In|ternal..|
|00003020| 76 61 72 09 63 6f 6e 73 | 74 20 69 6e 74 20 53 6f |var.cons|t int So|
|00003030| 63 6b 65 74 3b 0d 0a 76 | 61 72 20 63 6f 6e 73 74 |cket;..v|ar const|
|00003040| 20 69 6e 74 20 50 6f 72 | 74 3b 0d 0a 76 61 72 09 | int Por|t;..var.|
|00003050| 63 6f 6e 73 74 20 69 6e | 74 20 52 65 6d 6f 74 65 |const in|t Remote|
|00003060| 53 6f 63 6b 65 74 3b 0d | 0a 76 61 72 20 70 72 69 |Socket;.|.var pri|
|00003070| 76 61 74 65 20 6e 61 74 | 69 76 65 20 63 6f 6e 73 |vate nat|ive cons|
|00003080| 74 20 69 6e 74 20 50 72 | 69 76 61 74 65 52 65 73 |t int Pr|ivateRes|
|00003090| 6f 6c 76 65 49 6e 66 6f | 3b 0d 0a 76 61 72 20 63 |olveInfo|;..var c|
|000030a0| 6f 6e 73 74 20 69 6e 74 | 20 44 61 74 61 50 65 6e |onst int| DataPen|
|000030b0| 64 69 6e 67 3b 0d 0a 0d | 0a 2f 2f 20 52 65 63 65 |ding;...|.// Rece|
|000030c0| 69 76 65 20 6d 6f 64 65 | 2e 0d 0a 2f 2f 20 49 66 |ive mode|...// If|
|000030d0| 20 6d 6f 64 65 20 69 73 | 20 4d 4f 44 45 5f 4d 61 | mode is| MODE_Ma|
|000030e0| 6e 75 61 6c 2c 20 72 65 | 63 65 69 76 65 64 20 65 |nual, re|ceived e|
|000030f0| 76 65 6e 74 73 20 77 69 | 6c 6c 20 6e 6f 74 20 62 |vents wi|ll not b|
|00003100| 65 20 63 61 6c 6c 65 64 | 2e 0d 0a 2f 2f 20 54 68 |e called|...// Th|
|00003110| 69 73 20 6d 65 61 6e 73 | 20 69 74 20 69 73 20 79 |is means| it is y|
|00003120| 6f 75 72 20 72 65 73 70 | 6f 6e 73 69 62 69 6c 69 |our resp|onsibili|
|00003130| 74 79 20 74 6f 20 63 68 | 65 63 6b 20 74 68 65 20 |ty to ch|eck the |
|00003140| 44 61 74 61 50 65 6e 64 | 69 6e 67 0d 0a 2f 2f 20 |DataPend|ing..// |
|00003150| 76 61 72 20 61 6e 64 20 | 72 65 63 65 69 76 65 20 |var and |receive |
|00003160| 74 68 65 20 64 61 74 61 | 2e 0d 0a 2f 2f 20 43 61 |the data|...// Ca|
|00003170| 6e 6e 6f 74 20 62 65 20 | 73 65 74 20 69 6e 20 64 |nnot be |set in d|
|00003180| 65 66 61 75 6c 74 20 70 | 72 6f 70 65 72 74 69 65 |efault p|ropertie|
|00003190| 73 2e 0d 0a 76 61 72 20 | 65 6e 75 6d 20 45 52 65 |s...var |enum ERe|
|000031a0| 63 65 69 76 65 4d 6f 64 | 65 0d 0a 7b 0d 0a 09 52 |ceiveMod|e..{...R|
|000031b0| 4d 4f 44 45 5f 4d 61 6e | 75 61 6c 2c 0d 0a 09 52 |MODE_Man|ual,...R|
|000031c0| 4d 4f 44 45 5f 45 76 65 | 6e 74 0d 0a 7d 20 52 65 |MODE_Eve|nt..} Re|
|000031d0| 63 65 69 76 65 4d 6f 64 | 65 3b 0d 0a 0d 0a 2f 2f |ceiveMod|e;....//|
|000031e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000031f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003200| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003210| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003220| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 0a 2f |--------|-----../|
|00003230| 2f 20 4e 61 74 69 76 65 | 73 2e 0d 0a 0d 0a 2f 2f |/ Native|s.....//|
|00003240| 20 52 65 74 75 72 6e 73 | 20 74 72 75 65 20 69 66 | Returns| true if|
|00003250| 20 64 61 74 61 20 69 73 | 20 70 65 6e 64 69 6e 67 | data is| pending|
|00003260| 20 6f 6e 20 74 68 65 20 | 73 6f 63 6b 65 74 2e 0d | on the |socket..|
|00003270| 0a 6e 61 74 69 76 65 20 | 66 75 6e 63 74 69 6f 6e |.native |function|
|00003280| 20 62 6f 6f 6c 20 49 73 | 44 61 74 61 50 65 6e 64 | bool Is|DataPend|
|00003290| 69 6e 67 28 29 3b 0d 0a | 0d 0a 2f 2f 20 50 61 72 |ing();..|..// Par|
|000032a0| 73 65 73 20 61 6e 20 55 | 6e 72 65 61 6c 20 55 52 |ses an U|nreal UR|
|000032b0| 4c 20 69 6e 74 6f 20 69 | 74 73 20 63 6f 6d 70 6f |L into i|ts compo|
|000032c0| 6e 65 6e 74 20 65 6c 65 | 6d 65 6e 74 73 2e 0d 0a |nent ele|ments...|
|000032d0| 2f 2f 20 52 65 74 75 72 | 6e 73 20 66 61 6c 73 65 |// Retur|ns false|
|000032e0| 20 69 66 20 74 68 65 20 | 55 52 4c 20 77 61 73 20 | if the |URL was |
|000032f0| 69 6e 76 61 6c 69 64 2e | 0d 0a 6e 61 74 69 76 65 |invalid.|..native|
|00003300| 20 66 75 6e 63 74 69 6f | 6e 20 62 6f 6f 6c 20 50 | functio|n bool P|
|00003310| 61 72 73 65 55 52 4c 0d | 0a 28 0d 0a 09 63 6f 65 |arseURL.|.(...coe|
|00003320| 72 63 65 20 73 74 72 69 | 6e 67 20 55 52 4c 2c 20 |rce stri|ng URL, |
|00003330| 0d 0a 09 6f 75 74 20 73 | 74 72 69 6e 67 20 41 64 |...out s|tring Ad|
|00003340| 64 72 2c 20 0d 0a 09 6f | 75 74 20 69 6e 74 20 50 |dr, ...o|ut int P|
|00003350| 6f 72 74 2c 20 0d 0a 09 | 6f 75 74 20 73 74 72 69 |ort, ...|out stri|
|00003360| 6e 67 20 4c 65 76 65 6c | 4e 61 6d 65 2c 0d 0a 09 |ng Level|Name,...|
|00003370| 6f 75 74 20 73 74 72 69 | 6e 67 20 45 6e 74 72 79 |out stri|ng Entry|
|00003380| 4e 61 6d 65 0d 0a 29 3b | 0d 0a 0d 0a 2f 2f 20 52 |Name..);|....// R|
|00003390| 65 73 6f 6c 76 65 20 61 | 20 64 6f 6d 61 69 6e 20 |esolve a| domain |
|000033a0| 6f 72 20 64 6f 74 74 65 | 64 20 49 50 2e 0d 0a 2f |or dotte|d IP.../|
|000033b0| 2f 20 4e 6f 6e 62 6c 6f | 63 6b 69 6e 67 20 6f 70 |/ Nonblo|cking op|
|000033c0| 65 72 61 74 69 6f 6e 2e | 20 20 0d 0a 2f 2f 20 54 |eration.| ..// T|
|000033d0| 72 69 67 67 65 72 73 20 | 52 65 73 6f 6c 76 65 64 |riggers |Resolved|
|000033e0| 20 65 76 65 6e 74 20 69 | 66 20 73 75 63 63 65 73 | event i|f succes|
|000033f0| 73 66 75 6c 2e 0d 0a 2f | 2f 20 54 72 69 67 67 65 |sful.../|/ Trigge|
|00003400| 72 73 20 52 65 73 6f 6c | 76 65 46 61 69 6c 65 64 |rs Resol|veFailed|
|00003410| 20 65 76 65 6e 74 20 69 | 66 20 75 6e 73 75 63 63 | event i|f unsucc|
|00003420| 65 73 73 66 75 6c 2e 0d | 0a 6e 61 74 69 76 65 20 |essful..|.native |
|00003430| 66 75 6e 63 74 69 6f 6e | 20 52 65 73 6f 6c 76 65 |function| Resolve|
|00003440| 28 20 63 6f 65 72 63 65 | 20 73 74 72 69 6e 67 20 |( coerce| string |
|00003450| 44 6f 6d 61 69 6e 20 29 | 3b 0d 0a 0d 0a 2f 2f 20 |Domain )|;....// |
|00003460| 52 65 74 75 72 6e 73 20 | 6d 6f 73 74 20 72 65 63 |Returns |most rec|
|00003470| 65 6e 74 20 77 69 6e 73 | 6f 63 6b 20 65 72 72 6f |ent wins|ock erro|
|00003480| 72 2e 0d 0a 6e 61 74 69 | 76 65 20 66 75 6e 63 74 |r...nati|ve funct|
|00003490| 69 6f 6e 20 69 6e 74 20 | 47 65 74 4c 61 73 74 45 |ion int |GetLastE|
|000034a0| 72 72 6f 72 28 29 3b 0d | 0a 0d 0a 2f 2f 20 43 6f |rror();.|...// Co|
|000034b0| 6e 76 65 72 74 20 61 6e | 20 49 50 20 61 64 64 72 |nvert an| IP addr|
|000034c0| 65 73 73 20 74 6f 20 61 | 20 73 74 72 69 6e 67 2e |ess to a| string.|
|000034d0| 0d 0a 6e 61 74 69 76 65 | 20 66 75 6e 63 74 69 6f |..native| functio|
|000034e0| 6e 20 73 74 72 69 6e 67 | 20 49 70 41 64 64 72 54 |n string| IpAddrT|
|000034f0| 6f 53 74 72 69 6e 67 28 | 20 49 70 41 64 64 72 20 |oString(| IpAddr |
|00003500| 41 72 67 20 29 3b 0d 0a | 0d 0a 2f 2f 20 43 6f 6e |Arg );..|..// Con|
|00003510| 76 65 72 74 20 61 20 73 | 74 72 69 6e 67 20 74 6f |vert a s|tring to|
|00003520| 20 61 6e 20 49 50 0d 0a | 6e 61 74 69 76 65 20 66 | an IP..|native f|
|00003530| 75 6e 63 74 69 6f 6e 20 | 62 6f 6f 6c 20 53 74 72 |unction |bool Str|
|00003540| 69 6e 67 54 6f 49 70 41 | 64 64 72 28 20 73 74 72 |ingToIpA|ddr( str|
|00003550| 69 6e 67 20 53 74 72 2c | 20 6f 75 74 20 49 70 41 |ing Str,| out IpA|
|00003560| 64 64 72 20 41 64 64 72 | 20 29 3b 0d 0a 0d 0a 2f |ddr Addr| );..../|
|00003570| 2f 20 56 61 6c 69 64 61 | 74 65 3a 20 54 61 6b 65 |/ Valida|te: Take|
|00003580| 73 20 61 20 63 68 61 6c | 6c 65 6e 67 65 20 73 74 |s a chal|lenge st|
|00003590| 72 69 6e 67 20 61 6e 64 | 20 72 65 74 75 72 6e 73 |ring and| returns|
|000035a0| 20 61 6e 20 65 6e 63 6f | 64 65 64 20 76 61 6c 69 | an enco|ded vali|
|000035b0| 64 61 74 69 6f 6e 20 73 | 74 72 69 6e 67 2e 0d 0a |dation s|tring...|
|000035c0| 6e 61 74 69 76 65 20 66 | 75 6e 63 74 69 6f 6e 20 |native f|unction |
|000035d0| 73 74 72 69 6e 67 20 56 | 61 6c 69 64 61 74 65 28 |string V|alidate(|
|000035e0| 20 73 74 72 69 6e 67 20 | 56 61 6c 69 64 61 74 69 | string |Validati|
|000035f0| 6f 6e 53 74 72 69 6e 67 | 2c 20 73 74 72 69 6e 67 |onString|, string|
|00003600| 20 47 61 6d 65 4e 61 6d | 65 20 29 3b 0d 0a 0d 0a | GameNam|e );....|
|00003610| 6e 61 74 69 76 65 20 66 | 75 6e 63 74 69 6f 6e 20 |native f|unction |
|00003620| 47 65 74 4c 6f 63 61 6c | 49 50 28 6f 75 74 20 49 |GetLocal|IP(out I|
|00003630| 70 41 64 64 72 20 41 72 | 67 20 29 3b 0d 0a 0d 0a |pAddr Ar|g );....|
|00003640| 2f 2f 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |//------|--------|
|00003650| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003660| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003670| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003680| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00003690| 0a 2f 2f 20 45 76 65 6e | 74 73 2e 0d 0a 0d 0a 2f |.// Even|ts...../|
|000036a0| 2f 20 43 61 6c 6c 65 64 | 20 77 68 65 6e 20 64 6f |/ Called| when do|
|000036b0| 6d 61 69 6e 20 72 65 73 | 6f 6c 75 74 69 6f 6e 20 |main res|olution |
|000036c0| 69 73 20 73 75 63 63 65 | 73 73 66 75 6c 2e 0d 0a |is succe|ssful...|
|000036d0| 2f 2f 20 54 68 65 20 49 | 70 41 64 64 72 20 73 74 |// The I|pAddr st|
|000036e0| 72 75 63 74 20 41 64 64 | 72 20 63 6f 6e 74 61 69 |ruct Add|r contai|
|000036f0| 6e 73 20 74 68 65 20 76 | 61 6c 69 64 20 61 64 64 |ns the v|alid add|
|00003700| 72 65 73 73 2e 0d 0a 65 | 76 65 6e 74 20 52 65 73 |ress...e|vent Res|
|00003710| 6f 6c 76 65 64 28 20 49 | 70 41 64 64 72 20 41 64 |olved( I|pAddr Ad|
|00003720| 64 72 20 29 3b 0d 0a 0d | 0a 2f 2f 20 43 61 6c 6c |dr );...|.// Call|
|00003730| 65 64 20 77 68 65 6e 20 | 64 6f 6d 61 69 6e 20 72 |ed when |domain r|
|00003740| 65 73 6f 6c 75 74 69 6f | 6e 20 66 61 69 6c 73 2e |esolutio|n fails.|
|00003750| 0d 0a 65 76 65 6e 74 20 | 52 65 73 6f 6c 76 65 46 |..event |ResolveF|
|00003760| 61 69 6c 65 64 28 29 3b | 0d 0a 0d 0a 00 00 00 00 |ailed();|........|
|00003770| 00 00 00 00 00 00 47 1e | 2f 2f 3d 3d 3d 3d 3d 3d |......G.|//======|
|00003780| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003790| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000037a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000037b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000037c0| 3d 3d 3d 3d 3d 3d 3d 0d | 0a 2f 2f 20 43 6c 69 65 |=======.|.// Clie|
|000037d0| 6e 74 42 65 61 63 6f 6e | 52 65 63 65 69 76 65 72 |ntBeacon|Receiver|
|000037e0| 3a 20 52 65 63 65 69 76 | 65 73 20 4c 41 4e 20 62 |: Receiv|es LAN b|
|000037f0| 65 61 63 6f 6e 73 20 66 | 72 6f 6d 20 73 65 72 76 |eacons f|rom serv|
|00003800| 65 72 73 2e 0d 0a 2f 2f | 3d 3d 3d 3d 3d 3d 3d 3d |ers...//|========|
|00003810| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003820| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003830| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003840| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003850| 3d 3d 3d 3d 3d 0d 0a 63 | 6c 61 73 73 20 43 6c 69 |=====..c|lass Cli|
|00003860| 65 6e 74 42 65 61 63 6f | 6e 52 65 63 65 69 76 65 |entBeaco|nReceive|
|00003870| 72 20 65 78 74 65 6e 64 | 73 20 55 64 70 42 65 61 |r extend|s UdpBea|
|00003880| 63 6f 6e 0d 0a 09 74 72 | 61 6e 73 69 65 6e 74 3b |con...tr|ansient;|
|00003890| 0d 0a 0d 0a 76 61 72 20 | 73 74 72 75 63 74 20 42 |....var |struct B|
|000038a0| 65 61 63 6f 6e 49 6e 66 | 6f 0d 0a 7b 0d 0a 09 76 |eaconInf|o..{...v|
|000038b0| 61 72 20 49 70 41 64 64 | 72 20 20 20 20 20 20 41 |ar IpAdd|r A|
|000038c0| 64 64 72 3b 0d 0a 09 76 | 61 72 20 66 6c 6f 61 74 |ddr;...v|ar float|
|000038d0| 20 20 20 20 20 20 20 54 | 69 6d 65 3b 0d 0a 09 76 | T|ime;...v|
|000038e0| 61 72 20 73 74 72 69 6e | 67 20 20 20 20 20 20 54 |ar strin|g T|
|000038f0| 65 78 74 3b 0d 0a 7d 20 | 42 65 61 63 6f 6e 73 5b |ext;..} |Beacons[|
|00003900| 33 32 5d 3b 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |32];....|function|
|00003910| 20 73 74 72 69 6e 67 20 | 47 65 74 42 65 61 63 6f | string |GetBeaco|
|00003920| 6e 41 64 64 72 65 73 73 | 28 20 69 6e 74 20 69 20 |nAddress|( int i |
|00003930| 29 0d 0a 7b 0d 0a 09 72 | 65 74 75 72 6e 20 49 70 |)..{...r|eturn Ip|
|00003940| 41 64 64 72 54 6f 53 74 | 72 69 6e 67 28 42 65 61 |AddrToSt|ring(Bea|
|00003950| 63 6f 6e 73 5b 69 5d 2e | 41 64 64 72 29 3b 0d 0a |cons[i].|Addr);..|
|00003960| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 73 74 |}....fun|ction st|
|00003970| 72 69 6e 67 20 47 65 74 | 42 65 61 63 6f 6e 54 65 |ring Get|BeaconTe|
|00003980| 78 74 28 69 6e 74 20 69 | 29 0d 0a 7b 0d 0a 09 72 |xt(int i|)..{...r|
|00003990| 65 74 75 72 6e 20 42 65 | 61 63 6f 6e 73 5b 69 5d |eturn Be|acons[i]|
|000039a0| 2e 54 65 78 74 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |.Text;..|}....fun|
|000039b0| 63 74 69 6f 6e 20 42 65 | 67 69 6e 50 6c 61 79 28 |ction Be|ginPlay(|
|000039c0| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 49 70 41 |)..{...l|ocal IpA|
|000039d0| 64 64 72 20 41 64 64 72 | 3b 0d 0a 0d 0a 09 69 66 |ddr Addr|;.....if|
|000039e0| 28 20 42 69 6e 64 50 6f | 72 74 28 20 42 65 61 63 |( BindPo|rt( Beac|
|000039f0| 6f 6e 50 6f 72 74 2c 20 | 74 72 75 65 20 29 20 3e |onPort, |true ) >|
|00003a00| 20 30 20 29 0d 0a 09 7b | 0d 0a 09 09 53 65 74 54 | 0 )...{|....SetT|
|00003a10| 69 6d 65 72 28 20 31 2e | 30 2c 20 74 72 75 65 20 |imer( 1.|0, true |
|00003a20| 29 3b 0d 0a 09 09 6c 6f | 67 28 20 22 43 6c 69 65 |);....lo|g( "Clie|
|00003a30| 6e 74 42 65 61 63 6f 6e | 52 65 63 65 69 76 65 72 |ntBeacon|Receiver|
|00003a40| 20 69 6e 69 74 69 61 6c | 69 7a 65 64 2e 22 20 29 | initial|ized." )|
|00003a50| 3b 0d 0a 09 7d 0d 0a 09 | 65 6c 73 65 0d 0a 09 7b |;...}...|else...{|
|00003a60| 0d 0a 09 09 6c 6f 67 28 | 20 22 43 6c 69 65 6e 74 |....log(| "Client|
|00003a70| 42 65 61 63 6f 6e 52 65 | 63 65 69 76 65 72 20 66 |BeaconRe|ceiver f|
|00003a80| 61 69 6c 65 64 3a 20 42 | 65 61 63 6f 6e 20 70 6f |ailed: B|eacon po|
|00003a90| 72 74 20 69 6e 20 75 73 | 65 2e 22 20 29 3b 0d 0a |rt in us|e." );..|
|00003aa0| 09 7d 0d 0a 0d 0a 09 41 | 64 64 72 2e 41 64 64 72 |.}.....A|ddr.Addr|
|00003ab0| 20 3d 20 42 72 6f 61 64 | 63 61 73 74 41 64 64 72 | = Broad|castAddr|
|00003ac0| 3b 0d 0a 09 41 64 64 72 | 2e 50 6f 72 74 20 3d 20 |;...Addr|.Port = |
|00003ad0| 53 65 72 76 65 72 42 65 | 61 63 6f 6e 50 6f 72 74 |ServerBe|aconPort|
|00003ae0| 3b 0d 0a 0d 0a 09 42 72 | 6f 61 64 63 61 73 74 42 |;.....Br|oadcastB|
|00003af0| 65 61 63 6f 6e 28 41 64 | 64 72 29 3b 0d 0a 7d 0d |eacon(Ad|dr);..}.|
|00003b00| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 44 65 73 74 |...funct|ion Dest|
|00003b10| 72 6f 79 65 64 28 29 0d | 0a 7b 0d 0a 09 6c 6f 67 |royed().|.{...log|
|00003b20| 28 20 22 43 6c 69 65 6e | 74 42 65 61 63 6f 6e 52 |( "Clien|tBeaconR|
|00003b30| 65 63 65 69 76 65 72 20 | 66 69 6e 69 73 68 65 64 |eceiver |finished|
|00003b40| 2e 22 20 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |." );..}|....func|
|00003b50| 74 69 6f 6e 20 54 69 6d | 65 72 28 29 0d 0a 7b 0d |tion Tim|er()..{.|
|00003b60| 0a 09 6c 6f 63 61 6c 20 | 69 6e 74 20 69 2c 20 6a |..local |int i, j|
|00003b70| 3b 0d 0a 09 66 6f 72 28 | 20 69 3d 30 3b 20 69 3c |;...for(| i=0; i<|
|00003b80| 61 72 72 61 79 63 6f 75 | 6e 74 28 42 65 61 63 6f |arraycou|nt(Beaco|
|00003b90| 6e 73 29 3b 20 69 2b 2b | 20 29 0d 0a 09 09 69 66 |ns); i++| )....if|
|00003ba0| 0d 0a 09 09 28 09 42 65 | 61 63 6f 6e 73 5b 69 5d |....(.Be|acons[i]|
|00003bb0| 2e 41 64 64 72 2e 41 64 | 64 72 21 3d 30 0d 0a 09 |.Addr.Ad|dr!=0...|
|00003bc0| 09 26 26 09 4c 65 76 65 | 6c 2e 54 69 6d 65 53 65 |.&&.Leve|l.TimeSe|
|00003bd0| 63 6f 6e 64 73 2d 42 65 | 61 63 6f 6e 73 5b 69 5d |conds-Be|acons[i]|
|00003be0| 2e 54 69 6d 65 3c 42 65 | 61 63 6f 6e 54 69 6d 65 |.Time<Be|aconTime|
|00003bf0| 6f 75 74 20 29 0d 0a 09 | 09 09 42 65 61 63 6f 6e |out )...|..Beacon|
|00003c00| 73 5b 6a 2b 2b 5d 20 3d | 20 42 65 61 63 6f 6e 73 |s[j++] =| Beacons|
|00003c10| 5b 69 5d 3b 0d 0a 09 66 | 6f 72 28 20 6a 3d 6a 3b |[i];...f|or( j=j;|
|00003c20| 20 6a 3c 61 72 72 61 79 | 63 6f 75 6e 74 28 42 65 | j<array|count(Be|
|00003c30| 61 63 6f 6e 73 29 3b 20 | 6a 2b 2b 20 29 0d 0a 09 |acons); |j++ )...|
|00003c40| 09 42 65 61 63 6f 6e 73 | 5b 6a 5d 2e 41 64 64 72 |.Beacons|[j].Addr|
|00003c50| 2e 41 64 64 72 3d 30 3b | 0d 0a 7d 0d 0a 0d 0a 66 |.Addr=0;|..}....f|
|00003c60| 75 6e 63 74 69 6f 6e 20 | 42 72 6f 61 64 63 61 73 |unction |Broadcas|
|00003c70| 74 42 65 61 63 6f 6e 28 | 49 70 41 64 64 72 20 41 |tBeacon(|IpAddr A|
|00003c80| 64 64 72 29 0d 0a 7b 0d | 0a 09 53 65 6e 64 54 65 |ddr)..{.|..SendTe|
|00003c90| 78 74 28 20 41 64 64 72 | 2c 20 22 52 45 50 4f 52 |xt( Addr|, "REPOR|
|00003ca0| 54 22 20 29 3b 09 0d 0a | 7d 0d 0a 0d 0a 65 76 65 |T" );...|}....eve|
|00003cb0| 6e 74 20 52 65 63 65 69 | 76 65 64 54 65 78 74 28 |nt Recei|vedText(|
|00003cc0| 20 49 70 41 64 64 72 20 | 41 64 64 72 2c 20 73 74 | IpAddr |Addr, st|
|00003cd0| 72 69 6e 67 20 54 65 78 | 74 20 29 0d 0a 7b 0d 0a |ring Tex|t )..{..|
|00003ce0| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 69 2c 20 6e 3b |.local i|nt i, n;|
|00003cf0| 0d 0a 09 0d 0a 09 6e 20 | 3d 20 6c 65 6e 28 42 65 |......n |= len(Be|
|00003d00| 61 63 6f 6e 50 72 6f 64 | 75 63 74 29 3b 0d 0a 09 |aconProd|uct);...|
|00003d10| 69 66 28 20 6c 65 66 74 | 28 54 65 78 74 2c 6e 2b |if( left|(Text,n+|
|00003d20| 31 29 20 7e 3d 20 28 42 | 65 61 63 6f 6e 50 72 6f |1) ~= (B|eaconPro|
|00003d30| 64 75 63 74 24 22 20 22 | 29 20 29 0d 0a 09 7b 0d |duct$" "|) )...{.|
|00003d40| 0a 09 09 54 65 78 74 20 | 3d 20 6d 69 64 28 54 65 |...Text |= mid(Te|
|00003d50| 78 74 2c 6e 2b 31 29 3b | 0d 0a 09 09 41 64 64 72 |xt,n+1);|....Addr|
|00003d60| 2e 50 6f 72 74 20 3d 20 | 69 6e 74 28 54 65 78 74 |.Port = |int(Text|
|00003d70| 29 3b 0d 0a 09 09 66 6f | 72 28 20 69 3d 30 3b 20 |);....fo|r( i=0; |
|00003d80| 69 3c 61 72 72 61 79 63 | 6f 75 6e 74 28 42 65 61 |i<arrayc|ount(Bea|
|00003d90| 63 6f 6e 73 29 3b 20 69 | 2b 2b 20 29 0d 0a 09 09 |cons); i|++ )....|
|00003da0| 09 69 66 28 20 42 65 61 | 63 6f 6e 73 5b 69 5d 2e |.if( Bea|cons[i].|
|00003db0| 41 64 64 72 3d 3d 41 64 | 64 72 20 29 0d 0a 09 09 |Addr==Ad|dr )....|
|00003dc0| 09 09 62 72 65 61 6b 3b | 0d 0a 09 09 69 66 28 20 |..break;|....if( |
|00003dd0| 69 3d 3d 61 72 72 61 79 | 63 6f 75 6e 74 28 42 65 |i==array|count(Be|
|00003de0| 61 63 6f 6e 73 29 20 29 | 0d 0a 09 09 09 66 6f 72 |acons) )|.....for|
|00003df0| 28 20 69 3d 30 3b 20 69 | 3c 61 72 72 61 79 63 6f |( i=0; i|<arrayco|
|00003e00| 75 6e 74 28 42 65 61 63 | 6f 6e 73 29 3b 20 69 2b |unt(Beac|ons); i+|
|00003e10| 2b 20 29 0d 0a 09 09 09 | 09 69 66 28 20 42 65 61 |+ ).....|.if( Bea|
|00003e20| 63 6f 6e 73 5b 69 5d 2e | 41 64 64 72 2e 41 64 64 |cons[i].|Addr.Add|
|00003e30| 72 3d 3d 30 20 29 0d 0a | 09 09 09 09 09 62 72 65 |r==0 )..|.....bre|
|00003e40| 61 6b 3b 0d 0a 09 09 69 | 66 28 20 69 3d 3d 61 72 |ak;....i|f( i==ar|
|00003e50| 72 61 79 63 6f 75 6e 74 | 28 42 65 61 63 6f 6e 73 |raycount|(Beacons|
|00003e60| 29 20 29 0d 0a 09 09 09 | 72 65 74 75 72 6e 3b 0d |) ).....|return;.|
|00003e70| 0a 09 09 42 65 61 63 6f | 6e 73 5b 69 5d 2e 41 64 |...Beaco|ns[i].Ad|
|00003e80| 64 72 20 20 20 20 20 20 | 3d 20 41 64 64 72 3b 0d |dr |= Addr;.|
|00003e90| 0a 09 09 42 65 61 63 6f | 6e 73 5b 69 5d 2e 54 69 |...Beaco|ns[i].Ti|
|00003ea0| 6d 65 20 20 20 20 20 20 | 3d 20 4c 65 76 65 6c 2e |me |= Level.|
|00003eb0| 54 69 6d 65 53 65 63 6f | 6e 64 73 3b 0d 0a 09 09 |TimeSeco|nds;....|
|00003ec0| 42 65 61 63 6f 6e 73 5b | 69 5d 2e 54 65 78 74 20 |Beacons[|i].Text |
|00003ed0| 20 20 20 20 20 3d 20 6d | 69 64 28 54 65 78 74 2c | = m|id(Text,|
|00003ee0| 49 6e 53 74 72 28 54 65 | 78 74 2c 22 20 22 29 2b |InStr(Te|xt," ")+|
|00003ef0| 31 29 3b 0d 0a 09 7d 0d | 0a 7d 0d 0a 0d 0a 00 12 |1);...}.|.}......|
|00003f00| 00 7c 01 79 01 39 ff ff | ff ff ff ff ff ff 00 00 |.|.y.9..|........|
|00003f10| 00 00 02 01 00 00 00 00 | 00 00 ff ff ff ff ff ff |........|........|
|00003f20| ff ff ff ff 00 00 00 00 | 1e 00 00 00 00 00 00 00 |........|........|
|00003f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 04 7d 01 01 |........|.....}..|
|00003f40| 00 00 00 b4 09 50 05 12 | 01 00 00 00 99 1d 4e 35 |.....P..|......N5|
|00003f50| 8a 00 00 00 00 86 c7 d0 | 2f 8a 00 00 00 00 86 c7 |........|/.......|
|00003f60| d0 2f 03 06 02 03 8c 04 | 00 00 00 5e 01 00 30 30 |./......|...^..00|
|00003f70| 50 00 00 00 8e 08 00 00 | 05 00 00 00 29 30 00 00 |P.......|....)0..|
|00003f80| 00 00 04 00 00 00 00 40 | 02 01 00 00 00 00 00 00 |.......@|........|
|00003f90| 00 00 46 01 00 00 41 02 | 01 00 00 00 00 00 00 00 |..F...A.|........|
|00003fa0| 00 01 00 00 42 02 01 00 | 00 00 00 00 00 00 00 8b |....B...|........|
|00003fb0| 1a 00 00 46 01 01 00 00 | 00 02 00 40 00 00 43 02 |...F....|...@..C.|
|00003fc0| 00 00 00 01 00 00 00 00 | 00 00 00 00 00 00 00 7f |........|........|
|00003fd0| 01 00 4a 01 09 25 00 00 | 00 72 06 00 00 0a 00 00 |..J..%..|.r......|
|00003fe0| 00 29 4a 01 29 45 01 00 | 00 00 00 04 00 00 00 00 |.)J.)E..|........|
|00003ff0| 00 01 00 00 00 80 05 40 | 00 00 00 00 00 01 00 00 |.......@|........|
|00004000| 00 80 05 00 00 00 00 00 | 00 01 00 00 00 80 05 00 |........|........|
|00004010| 00 00 00 00 44 02 00 49 | 02 3f 29 00 00 00 22 07 |....D..I|.?)...".|
|00004020| 00 00 00 00 00 00 00 00 | 00 00 04 00 00 00 00 00 |........|........|
|00004030| 01 00 00 00 80 05 00 00 | 00 00 00 48 02 00 42 01 |........|...H..B.|
|00004040| 32 2c 00 00 00 7e 07 00 | 00 05 00 00 00 29 42 01 |2,...~..|.....)B.|
|00004050| 00 00 00 00 04 00 00 00 | 00 00 01 00 00 00 80 05 |........|........|
|00004060| 00 00 00 00 00 00 01 00 | 00 00 80 05 00 00 00 00 |........|........|
|00004070| 00 4a 02 00 4e 02 33 2f | 00 00 00 cc 07 00 00 00 |.J..N.3/|........|
|00004080| 00 00 00 00 00 00 00 04 | 00 00 00 00 00 01 00 00 |........|........|
|00004090| 00 80 05 00 00 00 00 00 | 4d 02 00 50 02 1e 32 00 |........|M..P..2.|
|000040a0| 00 00 1f 08 00 00 00 00 | 00 00 00 00 00 00 04 00 |........|........|
|000040b0| 00 00 00 00 01 00 00 00 | 80 05 00 00 00 00 00 4f |........|.......O|
|000040c0| 02 00 27 05 36 00 00 00 | c1 08 00 00 05 00 00 00 |..'.6...|........|
|000040d0| 29 27 00 00 00 00 04 00 | 00 00 00 55 01 00 25 0c |)'......|...U..%.|
|000040e0| 48 00 00 00 58 07 00 00 | 05 00 00 00 29 25 00 00 |H...X...|....)%..|
|000040f0| 00 00 04 00 00 00 00 00 | 01 00 00 00 80 05 00 00 |........|........|
|00004100| 00 00 00 51 02 00 26 16 | 39 00 00 00 29 09 00 00 |...Q..&.|9...)...|
|00004110| 0a 00 00 00 29 26 29 3d | 00 00 00 00 04 00 00 00 |....)&)=|........|
|00004120| 00 1b 00 46 02 3c 31 00 | 00 00 e8 04 00 00 00 00 |...F.<1.|........|
|00004130| 00 00 00 00 00 00 04 00 | 00 00 00 00 01 00 00 00 |........|........|
|00004140| 80 00 40 00 00 00 00 00 | 01 00 00 00 80 05 00 00 |..@.....|........|
|00004150| 00 00 00 54 02 00 35 0e | 3d 00 00 00 a1 09 00 00 |...T..5.|=.......|
|00004160| 05 00 00 00 29 35 00 00 | 00 00 04 00 00 00 00 23 |....)5..|.......#|
|00004170| 00 5c 02 0f 28 00 00 00 | 0a 06 00 00 02 00 00 00 |.\..(...|........|
|00004180| 04 0b 00 00 00 00 08 00 | 00 00 00 00 01 00 00 00 |........|........|
|00004190| 80 05 00 00 00 00 00 58 | 02 00 31 0a 40 00 00 00 |.......X|..1.@...|
|000041a0| 0d 0a 00 00 0a 00 00 00 | 29 31 29 2f 00 00 00 00 |........|)1)/....|
|000041b0| 04 00 00 00 00 6c 01 01 | 00 00 00 80 00 00 00 00 |.....l..|........|
|000041c0| 01 00 00 15 01 00 00 00 | 01 40 04 00 01 00 00 00 |........|.@......|
|000041d0| 01 00 00 00 80 05 00 00 | 00 00 00 5b 02 00 00 1d |........|...[....|
|000041e0| 46 00 00 00 d0 0a 00 00 | 02 00 00 00 04 0b 00 00 |F.......|........|
|000041f0| 00 00 08 00 00 00 00 5f | 02 00 00 1c 49 00 00 00 |......._|....I...|
|00004200| 19 0b 00 00 02 00 00 00 | 04 0b 00 00 00 00 08 00 |........|........|
|00004210| 00 00 00 60 02 00 00 1b | 4c 00 00 00 74 0b 00 00 |...`....|L...t...|
|00004220| 02 00 00 00 04 0b 00 00 | 00 00 08 00 00 00 00 61 |........|.......a|
|00004230| 02 00 63 02 08 4f 00 00 | 00 eb 0b 00 00 02 00 00 |..c..O..|........|
|00004240| 00 04 0b 00 00 00 00 08 | 00 00 00 00 00 01 00 00 |........|........|
|00004250| 00 80 00 40 00 00 00 00 | 62 02 00 65 02 0f 52 00 |...@....|b..e..R.|
|00004260| 00 00 62 0c 00 00 02 00 | 00 00 04 0b 00 00 00 00 |..b.....|........|
|00004270| 08 00 00 00 00 00 01 00 | 00 00 80 00 40 00 00 00 |........|....@...|
|00004280| 00 64 02 00 67 02 0b 55 | 00 00 00 ea 0c 00 00 02 |.d..g..U|........|
|00004290| 00 00 00 04 0b 00 00 00 | 00 08 00 00 00 00 68 02 |........|......h.|
|000042a0| 01 00 00 00 80 00 00 00 | 00 00 00 00 ff 00 00 00 |........|........|
|000042b0| 80 00 00 00 00 00 03 65 | 01 00 00 00 00 03 03 73 |.......e|.......s|
|000042c0| 01 ff ff ff ff 4a 01 03 | 73 01 ff ff ff ff 68 01 |.....J..|s.....h.|
|000042d0| 03 73 01 ff ff ff ff 52 | 01 03 73 01 ff ff ff ff |.s.....R|..s.....|
|000042e0| 5a 01 03 65 01 00 00 00 | 00 02 03 73 01 ff ff ff |Z..e....|...s....|
|000042f0| ff 60 01 03 73 01 ff ff | ff ff 69 01 03 73 01 fa |.`..s...|..i..s..|
|00004300| ff ff ff 7d 01 03 73 01 | fa ff ff ff 75 01 03 73 |...}..s.|....u..s|
|00004310| 01 ff ff ff ff 73 01 03 | 73 01 ff ff ff ff 4b 01 |.....s..|s.....K.|
|00004320| 03 5e 01 f7 ff ff ff 7c | 01 03 73 01 ff ff ff ff |.^.....||..s.....|
|00004330| 54 01 03 73 01 fa ff ff | ff 7b 01 03 73 01 ff ff |T..s....|.{..s...|
|00004340| ff ff 45 01 03 4a 01 f7 | ff ff ff 11 03 5f 01 f6 |..E..J..|....._..|
|00004350| ff ff ff 56 01 03 73 01 | ff ff ff ff 5f 01 03 73 |...V..s.|...._..s|
|00004360| 01 ff ff ff ff 46 01 03 | 73 01 ff ff ff ff 5d 01 |.....F..|s.....].|
|00004370| 03 73 01 ff ff ff ff 5c | 01 03 4a 01 f7 ff ff ff |.s.....\|..J.....|
|00004380| 12 03 4a 01 f1 ff ff ff | 2d 03 4a 01 f1 ff ff ff |..J.....|-.J.....|
|00004390| 14 03 73 01 fa ff ff ff | 7a 01 03 4a 01 f7 ff ff |..s.....|z..J....|
|000043a0| ff 17 03 5e 01 f6 ff ff | ff 61 01 94 00 0a 00 00 |...^....|.a......|
|000043b0| 00 3b 04 00 07 00 12 57 | 20 83 00 79 00 00 00 6e |.;.....W| ..y...n|
|000043c0| 01 04 00 07 00 0c 69 20 | 85 00 7d 00 00 00 6b 01 |......i |..}...k.|
|000043d0| 04 00 07 00 0d 75 20 83 | 00 74 00 00 00 6e 01 04 |.....u .|.t...n..|
|000043e0| 00 07 00 0c 42 21 85 00 | 33 00 00 00 48 01 04 00 |....B!..|3...H...|
|000043f0| 07 00 0d 4e 21 84 00 79 | 00 00 00 6a 01 04 00 07 |...N!..y|...j....|
|00004400| 00 0c 5b 21 83 00 74 00 | 00 00 6d 01 04 00 07 00 |..[!..t.|..m.....|
|00004410| 0c 67 21 83 00 01 00 00 | 00 48 01 04 00 07 00 0c |.g!.....|.H......|
|00004420| 73 21 84 00 12 00 00 00 | 2b 04 00 07 00 0c 7f 21 |s!......|+......!|
|00004430| 00 8f 00 00 00 00 37 04 | 00 0f 04 57 01 4b 22 83 |......7.|...W.K".|
|00004440| 00 79 00 00 00 59 01 04 | 00 07 00 0c 62 23 85 00 |.y...Y..|....b#..|
|00004450| 24 00 00 00 48 01 04 00 | 07 00 0d 6e 23 83 00 01 |$...H...|...n#...|
|00004460| 00 00 00 47 01 04 00 07 | 00 0c 7b 23 85 00 79 00 |...G....|..{#..y.|
|00004470| 00 00 48 01 04 00 07 00 | 0d 47 24 85 00 71 00 00 |..H.....|.G$..q..|
|00004480| 00 48 01 04 00 07 00 0d | 54 24 84 00 33 00 00 00 |.H......|T$..3...|
|00004490| 6a 01 04 00 07 00 0c 61 | 24 83 00 19 00 00 00 2c |j......a|$......,|
|000044a0| 04 00 07 00 0c 6d 24 00 | 19 00 00 00 00 01 04 00 |.....m$.|........|
|000044b0| 0f 00 5f 02 79 24 93 00 | 33 00 00 00 71 01 04 00 |.._.y$..|3...q...|
|000044c0| 07 00 0c 58 27 84 00 39 | 00 00 00 6a 01 04 00 07 |...X'..9|...j....|
|000044d0| 00 0c 64 27 83 00 12 00 | 00 00 41 01 04 00 07 00 |..d'....|..A.....|
|000044e0| 0c 70 27 85 00 39 00 00 | 00 48 01 04 00 07 00 0d |.p'..9..|.H......|
|000044f0| 7c 27 83 00 12 00 00 00 | 67 01 04 00 07 00 0c 49 ||'......|g......I|
|00004500| 28 83 00 12 00 00 00 2a | 04 00 07 00 0c 55 28 00 |(......*|.....U(.|
|00004510| 0a 00 00 00 00 0d 04 00 | 0f 04 60 01 61 28 00 0a |........|..`.a(..|
|00004520| 00 00 00 00 38 04 00 0f | 04 5a 01 41 2a 90 00 0a |....8...|.Z.A*...|
|00004530| 00 00 00 64 01 04 00 07 | 00 07 5b 2b 84 00 59 00 |...d....|..[+..Y.|
|00004540| 00 00 7e 01 04 00 07 00 | 0c 62 2b 84 00 59 00 00 |..~.....|.b+..Y..|
|00004550| 00 4e 01 04 00 07 00 0d | 6e 2b 90 00 0a 00 00 00 |.N......|n+......|
|00004560| 43 01 04 00 07 00 07 7b | 2b 84 00 59 00 00 00 49 |C......{|+..Y...I|
|00004570| 01 04 00 07 00 0c 42 2c | 84 00 59 00 00 00 48 01 |......B,|..Y...H.|
|00004580| 04 00 07 00 0c 4e 2c 84 | 00 78 00 00 00 50 01 04 |.....N,.|.x...P..|
|00004590| 00 07 00 0c 5a 2c 83 00 | 59 00 00 00 47 01 04 00 |....Z,..|Y...G...|
|000045a0| 07 00 0c 66 2c 82 00 19 | 00 00 00 08 04 00 07 00 |...f,...|........|
|000045b0| 1d 72 2c 82 97 12 00 00 | 00 12 04 00 07 00 66 01 |.r,.....|......f.|
|000045c0| 4f 2d 85 00 92 00 00 00 | 53 01 04 00 07 00 0e 75 |O-......|S......u|
|000045d0| 2e 83 00 94 00 00 00 4d | 01 04 00 07 00 0c 43 2f |.......M|......C/|
|000045e0| 84 00 91 00 00 00 4f 01 | 04 00 07 00 0d 4f 2f 84 |......O.|.....O/.|
|000045f0| 00 5c 00 00 00 4f 01 04 | 00 07 00 0c 5c 2f 85 00 |.\...O..|....\/..|
|00004600| 5c 00 00 00 48 01 04 00 | 07 00 0e 68 2f 82 00 12 |\...H...|...h/...|
|00004610| 00 00 00 07 04 00 07 00 | 53 01 76 2f 93 00 12 00 |........|S.v/....|
|00004620| 00 00 29 04 00 07 00 0c | 49 31 84 00 5e 00 00 00 |..).....|I1..^...|
|00004630| 55 01 04 00 07 00 0c 55 | 31 84 00 5e 00 00 00 62 |U......U|1..^...b|
|00004640| 01 04 00 07 00 0d 61 31 | 83 00 12 00 00 00 66 01 |......a1|......f.|
|00004650| 04 00 07 00 0c 6e 31 88 | 00 9b 00 00 00 70 01 04 |.....n1.|.....p..|
|00004660| 00 07 00 0e 7a 31 85 00 | 7e 00 00 00 53 01 04 00 |....z1..|~...S...|
|00004670| 07 00 0d 48 32 83 00 9b | 00 00 00 4d 01 04 00 07 |...H2...|...M....|
|00004680| 00 0c 55 32 83 00 6e 00 | 00 00 6e 01 04 00 07 00 |..U2..n.|..n.....|
|00004690| 0d 61 32 94 00 7d 00 00 | 00 40 01 04 00 07 00 13 |.a2..}..|.@......|
|000046a0| 6e 32 82 91 12 00 00 00 | 11 04 00 07 00 1e 41 33 |n2......|......A3|
|000046b0| 84 00 98 00 00 00 4f 01 | 04 00 07 00 0d 5f 33 83 |......O.|....._3.|
|000046c0| 00 61 00 00 00 47 01 04 | 00 07 00 0c 6c 33 87 00 |.a...G..|....l3..|
|000046d0| 61 00 00 00 5b 01 04 00 | 07 00 0d 78 33 83 00 6b |a...[...|...x3..k|
|000046e0| 00 00 00 6e 01 04 00 07 | 00 0d 45 34 82 23 12 00 |...n....|..E4.#..|
|000046f0| 00 00 08 04 00 07 00 49 | 01 52 34 85 00 4f 00 00 |.......I|.R4..O..|
|00004700| 00 48 01 04 00 07 00 0d | 5b 35 84 00 4f 00 00 00 |.H......|[5..O...|
|00004710| 4f 01 04 00 07 00 0d 68 | 35 85 00 60 00 00 00 48 |O......h|5..`...H|
|00004720| 01 04 00 07 00 0d 75 35 | 88 00 94 00 00 00 70 01 |......u5|......p.|
|00004730| 04 00 07 00 0e 42 36 85 | 00 58 00 00 00 48 01 04 |.....B6.|.X...H..|
|00004740| 00 07 00 0d 50 36 83 00 | 58 00 00 00 4d 01 04 00 |....P6..|X...M...|
|00004750| 07 00 0d 5d 36 88 00 58 | 00 00 00 70 01 04 00 07 |...]6..X|...p....|
|00004760| 00 0e 6a 36 85 00 2a 00 | 00 00 48 01 04 00 07 00 |..j6..*.|..H.....|
|00004770| 0d 78 36 85 00 8a 00 00 | 00 48 01 04 00 07 00 0e |.x6.....|.H......|
|00004780| 45 37 85 00 53 00 00 00 | 48 01 04 00 07 00 0e 53 |E7..S...|H......S|
|00004790| 37 84 00 53 00 00 00 4f | 01 04 00 07 00 0d 61 37 |7..S...O|......a7|
|000047a0| 87 00 84 00 00 00 5b 01 | 04 00 07 00 0d 6e 37 90 |......[.|.....n7.|
|000047b0| 00 1a 00 00 00 6c 01 04 | 00 07 00 0d 7b 37 85 00 |.....l..|....{7..|
|000047c0| 4c 00 00 00 48 01 04 00 | 07 00 0e 48 38 83 00 4c |L...H...|...H8..L|
|000047d0| 00 00 00 4d 01 04 00 07 | 00 0d 56 38 88 00 4c 00 |...M....|..V8..L.|
|000047e0| 00 00 70 01 04 00 07 00 | 0e 63 38 83 00 84 00 00 |..p.....|.c8.....|
|000047f0| 00 47 01 04 00 07 00 0d | 71 38 85 00 77 00 00 00 |.G......|q8..w...|
|00004800| 48 01 04 00 07 00 0d 7e | 38 82 00 19 00 00 00 0a |H......~|8.......|
|00004810| 04 00 07 00 24 4b 39 83 | 00 53 00 00 00 6f 01 04 |....$K9.|.S...o..|
|00004820| 00 07 00 0c 6f 39 83 00 | 4c 00 00 00 6f 01 04 00 |....o9..|L...o...|
|00004830| 07 00 0c 7b 39 82 00 19 | 00 00 00 05 04 00 07 00 |...{9...|........|
|00004840| 1e 47 3a 82 00 0a 00 00 | 00 2f 04 00 07 00 1d 65 |.G:.....|./.....e|
|00004850| 3a 82 00 19 00 00 00 0b | 04 00 07 00 1d 42 3b 85 |:.......|.....B;.|
|00004860| 00 51 00 00 00 48 01 04 | 00 07 00 0e 5f 3b 82 00 |.Q...H..|...._;..|
|00004870| 19 00 00 00 0e 04 00 07 | 00 21 6d 3b 88 00 51 00 |........|.!m;..Q.|
|00004880| 00 00 70 01 04 00 07 00 | 0d 4e 3c 82 00 0a 00 00 |..p.....|.N<.....|
|00004890| 00 3a 04 00 07 00 1b 5b | 3c 87 00 58 00 00 00 6f |.:.....[|<..X...o|
|000048a0| 01 04 00 07 00 0c 76 3c | 87 00 59 00 00 00 6f 01 |......v<|..Y...o.|
|000048b0| 04 00 07 00 0c 42 3d 82 | 00 19 00 00 00 16 04 00 |.....B=.|........|
|000048c0| 07 00 21 4e 3d 82 00 0a | 00 00 00 1a 04 00 07 00 |..!N=...|........|
|000048d0| 24 6f 3d 83 00 55 00 00 | 00 6f 01 04 00 07 00 0c |$o=..U..|.o......|
|000048e0| 53 3e 87 00 4f 00 00 00 | 6f 01 04 00 07 00 0c 5f |S>..O...|o......_|
|000048f0| 3e 82 00 0a 00 00 00 31 | 04 00 07 00 1e 6b 3e 84 |>......1|.....k>.|
|00004900| 00 92 00 00 00 6f 01 04 | 00 07 00 0c 49 3f 82 00 |.....o..|....I?..|
|00004910| 0a 00 00 00 34 04 00 07 | 00 1e 55 3f 83 00 61 00 |....4...|..U?..a.|
|00004920| 00 00 6f 01 04 00 07 00 | 0c 73 3f 82 00 12 00 00 |..o.....|.s?.....|
|00004930| 00 15 04 00 07 00 27 7f | 3f 82 00 19 00 00 00 09 |......'.|?.......|
|00004940| 04 00 07 00 1d 66 40 82 | 00 0a 00 00 00 2e 04 00 |.....f@.|........|
|00004950| 07 00 1c 43 41 88 00 0a | 00 00 00 74 01 04 00 07 |...CA...|...t....|
|00004960| 00 0d 5f 41 83 00 0a 00 | 00 00 63 01 04 00 07 00 |.._A....|..c.....|
|00004970| 0d 6c 41 85 00 23 00 00 | 00 48 01 04 00 07 00 0e |.lA..#..|.H......|
|00004980| 79 41 85 00 50 00 00 00 | 48 01 04 00 07 00 0d 47 |yA..P...|H......G|
|00004990| 42 83 00 0a 00 00 00 44 | 01 00 00 07 00 0d 54 42 |B......D|......TB|
|000049a0| 83 00 0a 00 00 00 51 01 | 04 00 07 00 0d 61 42 83 |......Q.|.....aB.|
|000049b0| 00 0a 00 00 00 47 01 04 | 00 07 00 0d 6e 42 83 00 |.....G..|....nB..|
|000049c0| 0a 00 00 00 57 01 04 00 | 07 00 0d 7b 42 82 98 7d |....W...|...{B..}|
|000049d0| 00 00 00 2d 04 00 07 00 | 26 48 43 84 00 99 00 00 |...-....|&HC.....|
|000049e0| 00 4c 01 04 00 07 00 0c | 6e 43 84 00 6b 00 00 00 |.L......|nC..k...|
|000049f0| 6f 01 04 00 07 00 0c 7a | 43 82 99 7d 00 00 00 14 |o......z|C..}....|
|00004a00| 04 00 07 00 24 46 44 83 | 00 51 00 00 00 4d 01 04 |....$FD.|.Q...M..|
|00004a10| 00 07 00 0d 6a 44 84 00 | 6e 00 00 00 6f 01 04 00 |....jD..|n...o...|
|00004a20| 07 00 0c 77 44 82 24 7d | 00 00 00 12 04 00 07 00 |...wD.$}|........|
|00004a30| 60 02 43 45 88 00 0a 00 | 00 00 58 01 04 00 07 00 |`.CE....|..X.....|
|00004a40| 0e 63 47 82 34 7d 00 00 | 00 11 04 00 07 00 3e 71 |.cG.4}..|......>q|
|00004a50| 47 82 9b 7d 00 00 00 17 | 04 00 07 00 46 02 6f 48 |G..}....|....F.oH|
|00004a60| 8e 00 19 00 00 00 72 01 | 00 00 34 00 70 1a 75 4a |......r.|..4.p.uJ|
|00004a70| 8e 00 12 00 00 00 72 01 | 00 00 34 00 60 18 65 65 |......r.|..4.`.ee|
|00004a80| 82 2a 7d 00 00 00 07 04 | 00 07 00 2b 45 7e 82 00 |.*}.....|...+E~..|
|00004a90| 0a 00 00 00 3e 04 00 07 | 00 1c 70 7e 82 39 7d 00 |....>...|..p~.9}.|
|00004aa0| 00 00 08 04 00 07 00 5b | 03 4c 7f 8e 00 1a 00 00 |.......[|.L......|
|00004ab0| 00 72 01 00 00 34 00 7b | 33 67 82 01 8e 00 0a 00 |.r...4.{|3g......|
|00004ac0| 00 00 72 01 00 00 34 00 | 4b 27 62 b6 01 8e 00 7d |..r...4.|K'b....}|
|00004ad0| 00 00 00 72 01 00 00 34 | 00 52 1e 6d dd 01 00 12 |...r...4|.R.m....|
|00004ae0| 00 00 00 00 39 04 00 0f | 00 6a 01 7f fb 01 82 00 |....9...|.j......|
|00004af0| 0a 00 00 00 30 04 00 07 | 00 1c 69 fd 01 88 00 1a |....0...|..i.....|
|00004b00| 00 00 00 76 01 04 00 07 | 00 0f 45 fe 01 85 00 1a |...v....|..E.....|
|00004b10| 00 00 00 77 01 04 00 07 | 00 0e 54 fe 01 95 00 1a |...w....|..T.....|
|00004b20| 00 00 00 78 01 04 00 07 | 00 0f 62 fe 01 96 00 1a |...x....|..b.....|
|00004b30| 00 00 00 79 01 04 00 07 | 00 0f 71 fe 01 88 00 82 |...y....|..q.....|
|00004b40| 00 00 00 79 01 04 00 07 | 00 0d 40 ff 01 82 00 1a |...y....|..@.....|
|00004b50| 00 00 00 09 04 00 07 00 | 21 4d ff 01 84 00 5e 00 |........|!M....^.|
|00004b60| 00 00 6f 01 04 00 07 00 | 0c 6e ff 01 87 00 95 00 |..o.....|.n......|
|00004b70| 00 00 6f 01 04 00 07 00 | 0c 7a ff 01 83 00 84 00 |..o.....|.z......|
|00004b80| 00 00 6f 01 04 00 07 00 | 0c 46 80 02 82 00 1a 00 |..o.....|.F......|
|00004b90| 00 00 3f 04 00 07 00 1b | 52 80 02 87 00 88 00 00 |..?.....|R.......|
|00004ba0| 00 6f 01 04 00 07 00 0c | 6d 80 02 82 00 1a 00 00 |.o......|m.......|
|00004bb0| 00 32 04 00 07 00 1e 79 | 80 02 87 00 5c 00 00 00 |.2.....y|....\...|
|00004bc0| 6f 01 04 00 07 00 0c 57 | 81 02 87 00 8a 00 00 00 |o......W|........|
|00004bd0| 6f 01 04 00 07 00 0c 63 | 81 02 82 00 1a 00 00 00 |o......c|........|
|00004be0| 33 04 00 07 00 1b 6f 81 | 02 87 00 8d 00 00 00 6f |3.....o.|.......o|
|00004bf0| 01 04 00 07 00 0c 4a 82 | 02 82 00 1a 00 00 00 1e |......J.|........|
|00004c00| 04 00 07 00 1b 56 82 02 | 87 00 8f 00 00 00 6f 01 |.....V..|......o.|
|00004c10| 04 00 07 00 0c 71 82 02 | 82 00 1a 00 00 00 05 04 |.....q..|........|
|00004c20| 00 07 00 1c 7d 82 02 82 | 00 0a 00 00 00 0c 04 00 |....}...|........|
|00004c30| 07 00 1c 59 83 02 83 00 | 91 00 00 00 6f 01 04 00 |...Y....|....o...|
|00004c40| 07 00 0c 75 83 02 82 00 | 1a 00 00 00 16 04 00 07 |...u....|........|
|00004c50| 00 1e 41 84 02 82 00 0a | 00 00 00 3c 04 00 07 00 |..A.....|...<....|
|00004c60| 1a 5f 84 02 84 00 23 00 | 00 00 6a 01 04 00 07 00 |._....#.|..j.....|
|00004c70| 0c 79 84 02 83 00 94 00 | 00 00 6f 01 04 00 07 00 |.y......|..o.....|
|00004c80| 0c 45 85 02 82 00 1a 00 | 00 00 0e 04 00 07 00 1c |.E......|........|
|00004c90| 51 85 02 82 00 19 00 00 | 00 0f 04 00 07 00 1c 6d |Q.......|.......m|
|00004ca0| 85 02 83 00 98 00 00 00 | 6f 01 04 00 07 00 0c 49 |........|o......I|
|00004cb0| 86 02 82 00 1a 00 00 00 | 0a 04 00 07 00 1e 55 86 |........|......U.|
|00004cc0| 02 85 00 99 00 00 00 48 | 01 04 00 07 00 0e 73 86 |.......H|......s.|
|00004cd0| 02 87 00 12 00 00 00 42 | 01 04 00 07 00 0c 41 87 |.......B|......A.|
|00004ce0| 02 83 00 9b 00 00 00 6f | 01 04 00 07 00 0c 4d 87 |.......o|......M.|
|00004cf0| 02 82 00 1a 00 00 00 1d | 04 00 07 00 1c 59 87 02 |........|.....Y..|
|00004d00| 82 00 1a 00 00 00 1c 04 | 00 07 00 1c 75 87 02 82 |........|....u...|
|00004d10| 00 1a 00 00 00 1b 04 00 | 07 00 1c 51 88 02 82 00 |........|...Q....|
|00004d20| 1a 00 00 00 08 04 00 07 | 00 1d 6d 88 02 84 00 a2 |........|..m.....|
|00004d30| 00 00 00 6a 01 04 00 07 | 00 0c 4a 89 02 82 00 1a |...j....|..J.....|
|00004d40| 00 00 00 0f 04 00 07 00 | 1d 56 89 02 84 00 a4 00 |........|.V......|
|00004d50| 00 00 4c 01 04 00 07 00 | 0c 73 89 02 82 00 1a 00 |..L.....|.s......|
|00004d60| 00 00 0b 04 00 07 00 1d | 7f 89 02 83 00 a6 00 00 |........|........|
|00004d70| 00 4d 01 04 00 07 00 0d | 5c 8a 02 88 00 a6 00 00 |.M......|\.......|
|00004d80| 00 70 01 04 00 07 00 0d | 69 8a 02 |.p......|i.. |
+--------+-------------------------+-------------------------+--------+--------+